GNOME Bugzilla – Bug 302143
User should be able to select week start day (Monday/Sunday)
Last modified: 2009-10-15 06:12:20 UTC
When I click on the Clock applet, a nice calendar pops up. Here in Norway we start the week on Monday and not on Sunday (as shown in the calendar). There should be an option to change this somewhere. Other information:
It should be doing that already if your locale is set correctly to norwegian. This is deduced using nl_langinfo() or something similar if I'm not mistaken. What are your locale settings?
LANG=en_US.UTF-8 I changed the language from US to Norwegian (with system-config-language in FC3) and the locale settings changed as well. Now the week starts on Monday. Thanks. But what if I would like to have US texts and still have the week start on Monday? In Evolution I can to exactly that (there is an option where I can choose any day to the start the week on).
I have set LANG to de_DE.UTF-8@euro, but the week does NOT start on monday. I am using gnome-applets 2.10.1.
How about other programs that use glibc locale info, do they behave the same or is this specific to the panel clock?
I tried it on the console using cal, which, to my knowledge, also uses glibc locale info. This also reports weeks starting on sunday. I have tested it with several locales. The only difference I get is the language, not the order of the weekdays
Please paste the output of the 'locale' command (command line app).
Here it comes... LANG=de_DE.UTF-8@euro LC_CTYPE=C LC_NUMERIC="de_DE.UTF-8@euro" LC_TIME="de_DE.UTF-8@euro" LC_COLLATE="de_DE.UTF-8@euro" LC_MONETARY="de_DE.UTF-8@euro" LC_MESSAGES=C LC_PAPER="de_DE.UTF-8@euro" LC_NAME="de_DE.UTF-8@euro" LC_ADDRESS="de_DE.UTF-8@euro" LC_TELEPHONE="de_DE.UTF-8@euro" LC_MEASUREMENT="de_DE.UTF-8@euro" LC_IDENTIFICATION="de_DE.UTF-8@euro" LC_ALL= hope this helps...
Jochen: what version of GTK+ are you running? AFAIK, patch in bug #163842 should have fixed this.
I am using the libgtk2.0 version 2.6.7 from ubuntu breezy
Oh, I hadn't seen comment #5. Are you running a system with glibc or another system? This could explain it... If that's the case, then I really do think that's something that should be done at the libc level.
Yes, I am using glibc. Maybe I should file a bug against glibc?
Jochen: If you set LANG and LC_ALL to de_DE.UTF-8, does the week start on sunday? If so, then you should indeed file a bug against glibc.
*** Bug 306855 has been marked as a duplicate of this bug. ***
*** Bug 314798 has been marked as a duplicate of this bug. ***
*** Bug 318648 has been marked as a duplicate of this bug. ***
*** Bug 328771 has been marked as a duplicate of this bug. ***
*** Bug 338424 has been marked as a duplicate of this bug. ***
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
I think this bug should be reopened. What I asked for when I opened this issue, was the possibility to choose the start day for weeks independently of the language and locale I use. F.ex. I like to have English (USA) as language, but still have weeks that starts on Mondays. Other bugs should be stated in their own reports.
I Feel the exact way about it as Per Thomas. What about an american living in sweden, should he have to use swedish in the menus and/or evolution if he wants to use the same calendar as everyone else here?
Ubuntu bug about that: https://launchpad.net/products/gnome-panel/+bug/48501
I can also confirm that the applet follows the locale, but can second that this is not neccesarily what the user wants. I am german, but use english locale as most translations are confusing for me. For the callendar I still would like to override my starting weekday.
More on this topic: http://bugzilla.gnome.org/show_bug.cgi?id=360101
Wow, I hadn't seen this bug is still alive. Pasting what I put in bug 360101: There are three solutions: + you can change your locale setting for LC_TIME + you can open a bug against GTK+ to ask for this for the GtkCalendar widgets (they might close it as WONTFIX, though) + you can wait for http://live.gnome.org/LocaleProject Right now, there is really nothing we can do in the clock applet to fix this. So I'm closing the bug, but feel free to open it again if GTK+ maintainers agree that fixing GtkCalendar is the right way to do this.
*** Bug 400003 has been marked as a duplicate of this bug. ***
*** Bug 441578 has been marked as a duplicate of this bug. ***
*** Bug 450863 has been marked as a duplicate of this bug. ***
I don't know what the circumstances were back in 2007 when this bug was last commented on, but looking at every other calendar product on my computer, they all allow the date to be set independently from the locale variable. This makes sense to me, and I'd suggest reopening this bug, or forwarding it to the GTK+ people, or whatever it takes to get this promoted. Just judging by the number of duplicates seems to be a good indication that this ought to be fixed, and that people are looking for this feature. There's even a discussion of it on the ubuntuforums, where people are expecting it to either be tied in with evolution's calendar (which allows this setting), or to have its own setting: http://ubuntuforums.org/showthread.php?t=273967