Bennet Bo Fenner
dc7e14f888
Respect user preferences when formatting timestamp ( #7994 )
...
This is a follow up to #7945 . The current behaviour reads the locale and
infers from that which type of time format should be used (12 hour/24
hour).
However, in macOS you can override this behaviour, e.g. you can use
en_US locale but still use the 24 hour clock format (Can be customized
under Settings > General > Date & Format > 24-hour time). You can even
customize the date format.
This PR uses the macOS specific `CFDateFormatter` API, which outputs
time format strings, that respect those settings.
Partially fixes #7956 (as its not implemented for linux)
Release Notes:
- Added localization support for all macOS specific date and time
configurations in chat
2024-02-23 19:18:06 -07:00
..
2024-02-06 20:41:36 +01:00
2024-02-12 11:37:27 -05:00
2024-02-06 20:41:36 +01:00
2024-02-23 11:13:28 -05:00
2024-02-06 20:41:36 +01:00
2024-02-22 02:20:06 -05:00
2024-02-06 20:41:36 +01:00
2024-02-22 10:07:36 -07:00
2024-02-22 22:28:08 -05:00
2024-02-23 19:18:06 -07:00
2024-02-23 20:07:13 -05:00
2024-02-22 22:28:08 -05:00
2024-02-23 20:58:45 -05:00
2024-02-23 19:18:06 -07:00
2024-01-30 14:08:20 -05:00
2024-02-06 20:41:36 +01:00
2024-02-23 15:56:08 +01:00
2024-02-23 13:39:14 +01:00
2024-02-16 10:45:55 -05:00
2024-02-06 20:41:36 +01:00
2024-02-23 15:56:08 +01:00
2024-02-23 11:38:20 -07:00
2024-02-23 16:08:14 -05:00
2024-02-23 15:56:08 +01:00
2024-02-06 20:41:36 +01:00
2024-02-12 22:28:26 -07:00
2024-02-19 14:37:52 +02:00
2024-02-22 11:22:12 -08:00
2024-02-08 08:35:37 -08:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-23 19:18:06 -07:00
2024-02-23 15:18:32 -08:00
2024-02-21 00:35:29 +02:00
2024-02-06 20:41:36 +01:00
2024-02-23 13:39:14 +01:00
2024-02-19 14:37:52 +02:00
2024-02-07 15:14:50 -05:00
2024-02-23 23:46:27 +02:00
2024-02-23 19:18:06 -07:00
2024-01-30 21:41:29 -05:00
2024-02-23 13:39:14 +01:00
2024-02-22 02:20:06 -05:00
2024-02-23 19:18:06 -07:00
2024-02-06 20:41:36 +01:00
2024-02-17 09:03:05 -07:00
2024-02-20 09:53:03 +02:00
2024-02-06 20:41:36 +01:00
2024-02-19 14:37:52 +02:00
2024-02-22 01:30:02 +02:00
2024-02-06 20:41:36 +01:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-23 13:39:14 +01:00
2024-02-23 16:23:42 -08:00
2024-02-07 19:06:03 +02:00
2024-02-19 14:37:52 +02:00
2024-02-18 08:14:08 +02:00
2024-02-23 15:56:08 +01:00
2024-01-30 21:41:29 -05:00
2024-02-06 20:41:36 +01:00
2024-02-19 21:49:47 -07:00
2024-02-17 09:03:05 -07:00
2024-02-22 10:07:36 -07:00
2024-02-20 21:07:01 +02:00
2024-02-12 11:37:27 -05:00
2024-02-23 18:24:04 +01:00
2024-01-29 23:47:20 -05:00
2024-02-07 19:06:03 +02:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-23 16:23:42 -08:00
2024-02-17 09:03:05 -07:00
2024-02-21 16:43:56 +02:00
2024-02-23 15:56:08 +01:00
2024-02-23 11:13:28 -05:00
2024-02-21 14:56:43 +02:00
2024-02-21 14:30:16 +01:00
2024-02-17 09:03:05 -07:00
2024-02-20 11:26:09 -05:00
2024-02-07 16:23:36 -05:00
2024-02-23 15:56:08 +01:00
2024-02-23 19:18:06 -07:00
2024-02-23 15:18:32 -08:00
2024-02-23 11:13:28 -05:00
2024-02-19 14:37:52 +02:00
2024-02-23 10:40:12 -07:00
2024-02-19 14:37:52 +02:00
2024-02-23 15:18:32 -08:00
2024-02-23 20:09:14 -05:00
2024-02-06 20:41:36 +01:00