OSPreferences_gtk.cpp |
Since Gtk does not provide a way to customize or format date/time patterns,
we're reusing ICU data here, but we do modify it according to the only
setting Gtk gives us - hourCycle.
This means that for gtk we will return a pattern from ICU altered to
represent h12/h24 hour cycle if the user modified the default value.
In short, this should work like this:
* gtk defaults, pl: 24h
* gtk defaults, en: 12h
* gtk 12h, pl: 12h
* gtk 12h, en: 12h
* gtk 24h, pl: 24h
* gtk 12h, en: 12h
|
2581 |