GNOME Bugzilla – Bug 658104
GDateTime test case locale problems
Last modified: 2011-09-03 04:33:37 UTC
http://git.gnome.org/browse/glib/commit/?id=17d8d2cc44af8b6b656cc971e68d71115acb7e8c This commit adds a GDateTime testcase that switches the locale to fa_IR.UTF-8 for purpose of testing the alternate numeric forms. The code to switch the locale back to its old value appears to be broken, though. Any testcase using number formatting that runs after this one breaks. I worked around this issue by moving my strftime test case to just above the modifiers case, but it should probably be fixed properly.
The following fix has been pushed: f091c6a gdatetime: Fix locale-changing code
Created attachment 195554 [details] [review] gdatetime: Fix locale-changing code As pointed out by Ryan Lortie, the code didn't actually ever switch back to the old locale.
works fine now, thanks.