GNOME Bugzilla – Bug 131145
eel_strdup_strftime non-Gregorian year
Last modified: 2004-12-22 21:47:04 UTC
Users of locales that do not use the Gregorian calendar (such as Thailand, which uses the Buddhist calendar) cannot obtain the year localised when using eel_strdup_strftime (e.g. Nautilus). ANSI C does not appear to allow for it. (e.g. 2000AD == 2543BC) It appears there is a non-standard extension, '%Ey' that can be used, but eel_strdup_strftime produces a warning and passes the '%Ey' through verbose. What can we do to obtain the year localised?
Ross, would you please provide exact steps to reproduce?
Created attachment 23235 [details] %E not supported in eel_strdup_strftime
%E is documented in Single Unix spec, http://www.opengroup.org/onlinepubs/007908799/xcu/date.html nautilus/libnautilus-private/nautilus-file.c, contains many date/time specifiers destined for eel_strdup_strftime. While localizing to some languages (e.g. Thai, Japanese), using %Ey instead of %Y can give a year format that local users are more accustom to.
This seems to have been resolved now. Thankyou to whoever fixed it!