GNOME Bugzilla – Bug 648678
g_date_time_format(): support %O flags for localized numbers
Last modified: 2011-05-26 15:24:05 UTC
usually using %O flags in translations should cause the system to show numbers in locale formats e.g. if %H shows 23, using %OH in Persian locale should show ۲۳. But using these flags causes the Shell to freeze at startup (like whats happening in 3.0.1 version and Persian language)
The shell simply uses g_date_time_format() for this, so the enhancement would have to be done in GLib.
glibc also supports a bunch of other useful formats. Eg, non-0-prefixed hours and days. bug 647320 suggests supporting those as well.
Created attachment 187287 [details] [review] wip patch Here is an unfinished patch that adds support for the O, -, _ and 0 modifiers to g_date_time_format(). Patch is missing docs and tests.
Will this patch fix bug #553770 and #511626?! Thanks for the patch anyway! :)
Sorry for the wrong formatting: bug #511626 and bug #553770
*** Bug 650086 has been marked as a duplicate of this bug. ***