You are not logged in.
I'm using the en_GB.UTF-8 locale which as far as I can tell says the first day of the week is Tuesday. As a result the orage calender in xfce shows weeks starting on Tuesday and ending on Monday which is pretty annoying.
Apparently orage uses the GTK calender widget. The following blog post describes the method used to get the first day of the week.
http://blogs.gnome.org/patrys/2008/09/2 … y-of-week/
* Run locale first_weekday week-1stday
* Parse week-1stday as date with %Y%m%d
* Move the result first_weekday - 1 days forward
* Check the weekday of the result
$ LANG=en_GB locale first_weekday week-1stday
2
19971201
1997-12-01 was a Monday. so Monday + (first_weekday - 1) = Tuesday.
$ LANG=C locale first_weekday week-1stday
7
19971201
1997-12-01 was a Monday. so Monday + (first_weekday - 1) = Sunday.
$ LANG=en_US locale first_weekday week-1stday
1
19971130
1997-11-30 was a Sunday. so Sunday + (first_weekday - 1) = Sunday.
The results are the same as what I see when I run orage. Is anybody else using en_GB locale with the same problem?
Last edited by winch (2009-05-09 16:57:34)
Offline
Wow, just noticed that. Not sure if it's always been like that.
Offline
Upstream bug report here
http://sources.redhat.com/bugzilla/show_bug.cgi?id=7068
Offline