GNOME Bugzilla – Bug 360101
Should be possible to choose which day week starts on
Last modified: 2009-06-18 15:55:31 UTC
The clock applet assumes everyone starts their week on Sunday. This may be true in the US, but in Europe most people start their week on Monday. In Evolution, there is an option under "Calendar and Tasks" to choose which day to start the week on, this should be there for the clock applet, as well.
This information should be retrieved from your locale settings. If you choose a locale where the first day of week is Monday, the clock applet will reflect this setting.
Which locale settings? How can I check which locale it picks up, how can I change it (if it's wrong), and how can I find out which first day of week is used for each locale? (Obviously, either I am using the wrong locale, or there is a bug in how the first day of week is selected based on the locale)
you can check your current locale running "locale" command in a shell and looking at LC_TIME. Then try running from the same shell "LC_TIME=en_UK time-admin", the first day of week will be Saturnday. "man 5 locale" for more info (and maybe also this thread: http://sourceforge.net/mailarchive/forum.php?thread_id=30620423&forum_id=44027 ).
I'm sorry, this doesn't seem to work for me. I've tried the following: LC_TIME=en_UK time-admin LC_TIME=no_NO time-admin time-admin is not really where I had the problem (the clock applet), but maybe they use the same calendar widget? In any case, both the commands above give me the time-admin with a calendar that starts on Sunday. For Norwegian, I would expect it to be Monday, and from your comment I would expect the UK one to be Saturday.
GtkCalendar automatically detects the correct first day of the week thanks to the locale. If it doesn't work for you, then there's a bug in your locale and you should file it in your distribution bug database. Evolution should detect the first day of the week the same way, btw.
I am surprised to see this being closed, after waiting 3 months for a response to my question... The problem is still there, so how can the status be resolved? BTW, I just checked my evolution calendar, and it shows Monday as first day of week (like I want it). If there really is a way to get Monday as first day of week in the clock applet, please advice how to achieve it.
(In reply to comment #6) > I am surprised to see this being closed, after waiting 3 months for a response > to my question... That's because of the huge number of bugs vs the limited number of developers and the limited amount of free time :-) > The problem is still there, so how can the status be resolved? > BTW, I just checked my evolution calendar, and it shows Monday as first day of > week (like I want it). > If there really is a way to get Monday as first day of week in the clock > applet, please advice how to achieve it. As I said, evolution has a setting for this but shouldn't, and gtk+ doesn't have a way to set this but automatically find the right day (which is wrong for some locales). That's why it works right now in evolution but not in the clock applet. The correct way to fix this is to file a bug against glibc, telling that your locale doesn't have the correct first day of the week. There's no other way to fix this. And this is not a GNOME bug, but a glibc bug. That's why I closed it as NOTGNOME.
I've filed a bug against glibc for this a while ago, but it has been slow going... https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203364
No, it _is_ a GNOME bug, or at the very least a feature request. Read the bug title: "Should be possible to **choose** which day week starts on." This is surely a duplicate of 302143. Note several comments in this bug and its duplicates relating to the fact that some users (myself included) do not want the calendar to follow the locale setting. See also: https://translations.launchpad.net/gnome-panel/+bug/48501
Mark: 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 As to my point of view: I really see no use case for this feature. Are there languages where the first day of the week is not well defined and can change, depending on the people?
Actually I am one more frustrated user. I want this option! (actually, gnome calendar lets you chose 12h or 24h format, so why not to chose week start day?) For now I am stuck with weeks starting on Sunday. I haven't found a locale that 100% suits me - I want to use my desktop in English, but all English locales (at least in Fedora) use Sunday as the first day of the week, but I live in Europe and used to start my weeks on Monday. So, there are actually plenty of use cases why someone would change this setting: buggy locale, not willing to use default setting (what if I move to the US? I would still want my weeks to start on Monday), or some people who e.g. work on weekends, but have some other days free may like to have these days at the end of their week. If you google a bit on this subject, you will find hundreds of frustrated users and some reasonable description why would someone change this. Please, add this setting to gnome calendar! I know that it used to have it at some point, but later it was removed in favor to locales. This was a wrong decision. We want this back! (and please reopen the bug)
Anton: see comment 10.
Yes, all you need to do is follow these very simple instructions: http://gentoo-wiki.com/HOWTO_localedef. I haven't been able to, but maybe you'll have better luck. :)
Teppo, I haven't succeeded with modifying locales either :-( I am on Fedora, maybe that's why no Ubuntu or Gentoo guides work as expected. Vincent, are you saying that GtkCalendar widgets did support changing the first day of the week, but the support has been removed from there? I am asking because calendar applet used to have this setting before.
(In reply to comment #14) > Vincent, are you saying that GtkCalendar widgets did support changing the first > day of the week, but the support has been removed from there? I am asking > because calendar applet used to have this setting before. Yes.
*** Bug 584699 has been marked as a duplicate of this bug. ***