Hi, all.
I know, when a date string is pasted into TBX’s date type attribute, TBX will appropriately convert it.
(pasted string)
↓
(converted date)
But in the cases that digit 0 or 12 is used at hour position, the conversion may not be correct. For example,
(pasted string)
↓
(converted date)
“12:57 AM (12-hour clock)” means “0:57 (24-hour clock)”, but it converted to “12:57 (24-hour clock)”.
As far as my trial in v8.9.2 on OSX 10.13.6, TBX will interpret hour figures as below.
pasted string (12-hour clock) |
expected result (24-hour clock) |
the result in TBX (24-hour clock) |
---|---|---|
12:57 AM | 0:57 | 12:57 |
0:57 AM | 0:57 | 0:57 |
12:57 PM | 12:57 | 12:57 |
0:57 PM | 12:57 | 0:57 |
Although “12:57 AM/PM” format is used in Twitter or other situation widely, TBX’s conversion seem to be inconsistent.