GNOME Bugzilla – Bug 784130
Times in the world's clocks are shown in reverse in RTL languages
Last modified: 2017-07-05 14:50:20 UTC
Created attachment 354315 [details] Screenshot representing the issue This is similar to #745111. The place for hour and minutes in the bottom left side of the dropdown is reversed as in the screenshot attached.
Created attachment 354325 [details] [review] util: Force text direction of time strings While the string returned by formatTime() should follow the locale's text direction as a whole, the actual time part is always expected to put hours on the left and minutes to the right. It is possible to enforce that by inserting a left-to-right mark, but so far this is only done by the Hebrew translation. So in order to not require all other RTL translations to be fixed individually, just insert the mark into the returned string ourselves like gnome-desktop's WallClock code does[0]. [0] https://git.gnome.org/browse/gnome-desktop/tree/libgnome-desktop/gnome-wall-clock.c?h=gnome-3-24#n267
Review of attachment 354325 [details] [review]: lgtm
Attachment 354325 [details] pushed as fdf988c - util: Force text direction of time strings