After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 360101 - Should be possible to choose which day week starts on
Should be possible to choose which day week starts on
Status: RESOLVED NOTGNOME
Product: gnome-panel
Classification: Other
Component: clock
2.4.x
Other All
: Normal enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 584699 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-06 08:33 UTC by Havard Bjastad
Modified: 2009-06-18 15:55 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Havard Bjastad 2006-10-06 08:33:50 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.
Comment 1 Luca Cavalli 2006-10-06 09:00:55 UTC
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.
Comment 2 Havard Bjastad 2006-10-06 09:44:21 UTC
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)
Comment 3 Luca Cavalli 2006-10-06 10:02:41 UTC
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 ).
Comment 4 Havard Bjastad 2006-10-06 10:58:45 UTC
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.
Comment 5 Vincent Untz 2007-01-15 12:23:26 UTC
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.
Comment 6 Havard Bjastad 2007-01-15 12:31:15 UTC
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.
Comment 7 Vincent Untz 2007-01-15 12:41:44 UTC
(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.

Comment 8 Kjartan Maraas 2007-01-15 12:56:56 UTC
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
Comment 9 Mark Knoop 2007-01-15 14:12:25 UTC
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
Comment 10 Vincent Untz 2007-01-15 14:32:42 UTC
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?
Comment 11 Anton Keks 2007-06-06 19:45:55 UTC
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)
Comment 12 Vincent Untz 2007-06-06 20:22:07 UTC
Anton: see comment 10.
Comment 13 Teppo Turtiainen 2007-06-06 20:27:24 UTC
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. :)
Comment 14 Anton Keks 2007-06-10 15:18:48 UTC
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.
Comment 15 Vincent Untz 2007-06-10 19:39:18 UTC
(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.
Comment 16 Vincent Untz 2009-06-18 15:55:31 UTC
*** Bug 584699 has been marked as a duplicate of this bug. ***