GNOME Bugzilla – Bug 114198
Week start at the calendar
Last modified: 2004-12-22 21:47:04 UTC
The calendar showed in the new release of clock applet should allow to set up the start day of the week. In European countries week start at Monday. Also the applet came without the app set to change the date. A default value should be provided, because changing at the gconf-editor is not user friendly.
Hi :-), I don't know if it's really correctly used, or if it's completely portable, but in the time-admin tool of the gnome system tools we are using the function nl_langinfo (_NL_TIME_FIRST_WEEKDAY) to get the first weekday acording to the locales, as far as I've been testing it with several locales, it seems to work fine. If nobody complains, I'll try to get a working patch for this bug using nl_langinfo() this evening :-P
Created attachment 17864 [details] [review] patch to fix the bug using nl_langinfo()
hope you like it, sorry for the delay, I had problems with gnome-2.3 from jhbuild :-P
I'l try the path now. I have to figure how to add it to the gentoo ebuild. :)
It worked!!! Thanks a lot. Now I see the weeks starting at monday without even having to configure anything. :)
Why this patch is not yet in the mainstream gnome? Everytime I update gnome I forget to apply this patch...
Sorry bothering again... but... why this path is not still mainstream in the gnome 2.4 beta 2??? I think this path is really important to be fixed on the 2.4 release, and the path is easy and works well.
GNOME is in a deep code freeze right now. Sorry, your patch will have to wait a little longer.
This is not considered a L10N bug? Anyway, thanks, I will continue applying the patch manually.
Certainly, it is a L10N bug. But GNOME is frozen now in order to get a release out at all.
it's a pity that the patch wasn't applied for 2.4.0, I hope that the patch could get some more testing and get mainstream soon :-)
Created attachment 19980 [details] another way to do this with options instead of using locale
Much of the whole point of localization is making software just work the way people expect without them having to manually set a hundred options in a thousand different places. Thus, I don't see how just adding options, without depending on the locale setting, really solves the fundamental problem here.
Mark/Arvind: did you review the first patch ?
Okay, this is resolved in gtk+ HEAD - gtkcalendar figures out the week start itself (its up to the translator to set it). So, this will be fixed for GNOME 2.6 because we will be using gtk+ 2.4 by then. *** This bug has been marked as a duplicate of 87977 ***