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 310584 - (week) Evolution should use the same setting than GTK+ to know when the week starts
(week)
Evolution should use the same setting than GTK+ to know when the week starts
Status: RESOLVED DUPLICATE of bug 270578
Product: evolution
Classification: Applications
Component: Calendar
unspecified
Other Linux
: Normal minor
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 318653 320468 339039 400434 453679 457955 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-16 13:14 UTC by Teppo Turtiainen
Modified: 2010-10-14 06:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Teppo Turtiainen 2005-07-16 13:14:25 UTC
Distribution/Version: Ubuntu Breezy

The Clock applet always shows weeks as starting on Sunday. I've selected weeks
to start on Monday in Evolution settings. The Clock applet should follow that.
The GConf key is /apps/evolution/calendar/display/week_start_day.
Comment 1 Sebastien Bacher 2005-07-16 13:50:33 UTC
the weeks start depends on the local, it has already by stated that's the right
behaviour, I'm not sure that's a bug
Comment 2 Teppo Turtiainen 2005-07-16 16:03:09 UTC
OK, I'm just too newbie to set up my locale to get an English language GNOME
environment and a week start day according to the Finnish standard. The Clock
applet looks at LC_TIME, right?
Comment 3 Luis Villa 2005-07-21 23:16:47 UTC
It does seem like either Evo should follow the system setting, or the panel
should follow evo (since it draws from the same source and is in this way sort
of a mini-evo.) Is there an open bug for removing this setting from evo?
Comment 4 Vincent Untz 2005-08-18 20:45:54 UTC
The panel will not follow evo because it can't :-) GTK+ people disabled the
possibility to select when the week starts. So evo should be changed.

Moving to evolution.
Comment 5 Teppo Turtiainen 2005-08-19 04:53:40 UTC
Since you are going to do the exact opposite of what I asked for, could someone
at least tell me how GTK+ determines the first day of the week, so I could try
to set it up correctly for myself.
Comment 6 Vincent Untz 2005-08-19 07:31:55 UTC
Teppo: see bug 87977, bug 123836 and bug 163842.
Basically, if GTK+ can obtain this information from the locale, it does. Else,
it uses a setting set by the translators.
Comment 7 Sebastien Bacher 2005-10-12 08:57:32 UTC
*** Bug 318653 has been marked as a duplicate of this bug. ***
Comment 8 tom quas 2005-10-12 12:28:55 UTC
After reading <a href="http://gnomedesktop.org/node/2151">Change Gnome Panel
Calender week day</a> I'm not a bit smarter that I was before. I basically have
the same problem:

$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

and the only thing I want to change is the first day of the week--NOT the entire
desktop language. I couldn't find a reasonable solution yet. Isn't that a clear
sign to improve on this issue?
Comment 9 Sebastien Bacher 2005-11-28 21:10:51 UTC
*** Bug 320468 has been marked as a duplicate of this bug. ***
Comment 10 Olav Vitters 2006-04-23 20:04:21 UTC
*** Bug 339039 has been marked as a duplicate of this bug. ***
Comment 11 tjb 2006-04-23 20:31:43 UTC
So I'm not sure my bug 339039 should be a duplicate of this one. Yes, my panel clock starts on the wrong day, Monday, but it worked correctly under Gnome 2.12 (it started on Sunday). It broke under 2.14. I don't belieive my locale has changed:

solyaris> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
solyaris>

What am I supposed to do? I've already mischeduled a meeting because of this broken behavior. 
Comment 12 Olav Vitters 2006-04-23 20:37:59 UTC
(In reply to comment #11)
> So I'm not sure my bug 339039 should be a duplicate of this one. Yes, my panel

No I shouldnn't have duped it, sorry. It should have been a dupe of bug 318694 and bug 339494 should've been duped to this one (forgot to check it your bug was the same). 

> clock starts on the wrong day, Monday, but it worked correctly under Gnome 2.12
> (it started on Sunday). It broke under 2.14. I don't belieive my locale has
> changed:

See details in bug 318694. This is a bug in your locale.

> What am I supposed to do? I've already mischeduled a meeting because of this
> broken behavior. 

File a bug against your distribution.
Comment 13 Teppo Turtiainen 2006-04-24 04:56:57 UTC
I haven't been able to resolve this for myself either (although I haven't tried very hard). Setting LC_TIME to "fi_FI.UTF-8" doesn't make any difference. Trying to deduce the start of the week from the desktop language is a wrong approach.
Comment 14 Vincent Untz 2006-04-24 05:51:36 UTC
(In reply to comment #13)
> I haven't been able to resolve this for myself either (although I haven't tried
> very hard). Setting LC_TIME to "fi_FI.UTF-8" doesn't make any difference.
> Trying to deduce the start of the week from the desktop language is a wrong
> approach.

Why? This is definitely defined in the locale, so it makes sense to me to use this setting.
Comment 15 Teppo Turtiainen 2006-04-24 12:10:46 UTC
(In reply to comment #14)
> Why? This is definitely defined in the locale, so it makes sense to me to use
> this setting.

Using the locale setting would be just fine if there was some comprehensible way of changing the locale info. (I'm sure there is a way, I just haven't been able to figure it out yet. Messing around with locales when you are not even sure what you should be changing is very complicated.)

A setting set by translators won't work because there is no _real_ connection between the language someone uses on his/her desktop and what they consider to be the first day of the week. I'm a native Finnish speaker living in Finland and yet I still prefer to have my desktop in English, because I can understand it just fine and I think that a translation is almost always inferior to the original.

You may think that this is a corner case, but please consider for example people living and working abroad and all the possible combinations that can raise from that. They may want to have their desktop in their native tongue but adhere to the local standard for the first day of the week. Or people who are forced to use their desktop in a particular language (corporate policy or whatever), but would like change the first day of the week to what they are used to.

Having the wrong first day of the week is disorientating and I would very much like to have mixed locales taken into consideration.
Comment 16 Vincent Untz 2006-04-24 13:41:05 UTC
LC_MESSAGES set the language used for the messages, like the strings.
LC_TIME set the language used for all the time-related functions, like the first day of week. You don't have to set them to the same value.

If your locale is wrong, then please open a bug in your distribution. I know ubuntu people are actively fixing this, eg.

Also note that the real fix is http://live.gnome.org/LocaleProject
Comment 17 Brian G 2006-04-24 19:49:35 UTC
I don't use Evolution. i'd rather The Clock applet just had an option in preferences to check or uncheck depending on if you want your week to start with sunday or monday.
Comment 18 Vincent Untz 2006-04-27 16:43:29 UTC
(In reply to comment #17)
> I don't use Evolution. i'd rather The Clock applet just had an option in
> preferences to check or uncheck depending on if you want your week to start
> with sunday or monday.

This is not possible with the standard GtkCalendar since GTK+ doesn't allow to change the start of week. But this is really a bug in your locale if you need to change the first day of week.

Comment 19 Sebastien Bacher 2007-02-05 12:19:37 UTC
*** Bug 400434 has been marked as a duplicate of this bug. ***
Comment 20 Jens Rantil 2007-05-27 19:40:57 UTC
Hi,
There is another bug report concerning this here: http://bugzilla.gnome.org/show_bug.cgi?id=360101
Comment 21 Vincent Untz 2007-07-04 13:32:11 UTC
*** Bug 453679 has been marked as a duplicate of this bug. ***
Comment 22 Trond Andersen 2007-07-04 13:47:05 UTC
There is a user interface for time and date (System -> Administration -> Time and Date). I have specified Europe/Oslo as my Time Zone. Shouldn't this application make sure that my LC_x are correct so that the clock applet understands that in Norway we start the week on Monday. This should also result in the Clock applet to display the date in the correct format. 
Comment 23 Vincent Untz 2007-07-04 14:17:14 UTC
(In reply to comment #22)
> There is a user interface for time and date (System -> Administration -> Time
> and Date). I have specified Europe/Oslo as my Time Zone. Shouldn't this
> application make sure that my LC_x are correct so that the clock applet
> understands that in Norway we start the week on Monday. This should also result
> in the Clock applet to display the date in the correct format. 

The timezone you're currently in might not match your preference for LC_TIME. Eg, I could live in India, but I'd still want to see the time the French way.
Comment 24 Trond Andersen 2007-07-04 14:31:59 UTC
> The timezone you're currently in might not match your preference for LC_TIME.
> Eg, I could live in India, but I'd still want to see the time the French way.
Agreed, but it's all about good defaults. When I set the time zone to Europe/Oslo it's a good indication that I would like to have my calendar week started at Monday. 

Are there any plans to expand this Time and Date tool or include another tool to include Locale settings. If there isn't, do users have to manually edit configuration files? If the users have to edit configuration files, the tools that are available should at least help the users who don't have the need to differ the time zone and the locale settings. I think this would satisfy many users.
Comment 25 Vincent Untz 2007-07-04 14:48:24 UTC
There have been plans related to locale stuff for a long time, but there's nobody working on this, I believe:
http://live.gnome.org/LocaleProject
Comment 26 Vincent Untz 2007-09-02 11:03:21 UTC
*** Bug 457955 has been marked as a duplicate of this bug. ***
Comment 27 Teemu Leisti 2009-12-08 11:26:13 UTC
I'd like to add my support for fixing this bug. (I'm surprised that it's still open, well after four years it was reported.)

As noted by others above, it is a mistake to make the starting day of the week depend on the selected location, as one could well want to choose a starting day that differs from the local convention.  The selected language should have even less to do with the first-day-of-the-week issue.  For instance, I'm in New Zealand, and have configured English as my computer's language, yet want to be able to see the weeks starting with Monday, as the ISO standard says.  (Since it is the standard, that should actually be the default, in my opinion.)

There should be an easily-accessible switch somewhere for setting this separately from any other language or locale settings.  This setting should be accessible at least from the status bar's calendar tool.
Comment 28 Milan Crha 2010-10-14 06:49:20 UTC

*** This bug has been marked as a duplicate of bug 270578 ***