zed/crates/live_kit_client
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
..
.cargo WIP 2022-10-17 23:25:04 -06:00
examples Adjust APIs for simpler examples in blog post 2024-01-17 21:19:28 -07:00
LiveKitBridge Revert "Bump livekit client" 2024-01-17 10:33:32 -08:00
src X11: Continuous Presentation (#7762) 2024-02-14 12:24:12 -08:00
build.rs fix: isolate macos-specific dependencies (#6854) 2024-01-27 13:38:55 +01:00
Cargo.toml Respect user preferences when formatting timestamp (#7994) 2024-02-23 19:18:06 -07:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00