GNOME Bugzilla – Bug 687923
Broken date/time examples
Last modified: 2017-05-25 10:18:06 UTC
Using France (French) shows: "CET" for the current date UK English shows: 1:21:32 pm CET CET The dates also seem to have spaces between the number and the month.
*** Bug 676364 has been marked as a duplicate of this bug. ***
In panels/region/cc-format-chooser.c dt = g_date_time_new_now_local (); display_date (priv->full_date, dt, "%A %e %B %Y"); display_date (priv->medium_date, dt, "%e %b %Y"); display_date (priv->short_date, dt, "%x"); display_date (priv->time, dt, "%X"); A solution is to remove these two hard coded date formats. They are useless anyway. Or they can be "translated", but then the UI will be out of the purpose of displaying the time locale information.
Maybe only locale aware full formats can be used, like: display_date (priv->date, dt, "%x"); display_date (priv->time, dt, "%X"); display_date (priv->date_time, dt, "%a");
Created attachment 275258 [details] [review] Use %x,%X and %c formats only OK, here is my proposal. Remove the formats and only use locale-aware "%x", "%X" and "%c".
Any opinion? This old bug is quite obvious.
I recently noticed this error. As a translator (the Czech language) I agree with using formats %c, %x and %X as examples and I ask for early commit. The current form is confusing for users.
Any progress here would be appreciated.
Review of attachment 275258 [details] [review]: looks good, I'll amend the commit subject to fit our pattern before pushing, thanks!