Week start day oddity in orage

Juha kautto.juha at kolumbus.fi
Fri Mar 11 08:08:03 CET 2011


11.03.2011 08:41, Tino Keitel kirjoitti:
> Hi,
>
> on my Desktop, orage starts the week on Monday. On my laptop, the week
> starts on Sunday. Why? I diffed the oragerc files and saw no relevant
> differences (only window position, foreign files etc.). The locale
> output looks like this on both computers:
>
> LANG=C
> LC_CTYPE=de_DE.UTF-8
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_COLLATE="C"
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_PAPER="C"
> LC_NAME="C"
> LC_ADDRESS="C"
> LC_TELEPHONE="C"
> LC_MEASUREMENT="C"
> LC_IDENTIFICATION="C"
> LC_ALL=
>
> Regards,
> Tino
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
Compare your
locale first_weekday
and
locale day
settings.

 From the FAG in Orage help:
.....

Why does my week start on Saturday?

This really is a problem in your distro. You can check how your 
operating system reports these to GTK+ and hence to *|orage|*, which 
uses strictly gtk calendar widget and does not tune these settings 
itself. Command *locale first_weekday* shows which day is the first day 
in your system. Usually Sunday is day number 1, but that can be changed 
so check that with command *locale day*, which shows days starting from 
day number 1. You may try with different LANG enevironment variable 
settings and calendar view in *|orage|* should change accordingly. Log a 
new bug for *|orage|* if you think it is not working correctly. Look 
more information from Xfce bug 1237 
<http://bugzilla.xfce.org/show_bug.cgi?id=1237> or from Debian bug 
215466 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=215466>

If you are adventurous, you can actually fix these yourself. You need to 
find your locale definition file (like fi_FI or fr_FR). *locate* is your 
friend here and helps finding it. After that you can check what the 
setting is: *grep first_weekday fi_FI* and change that if it is wrong 
and after that you need to recompile your locale database.
.....

For example in my system:
$ LANG=en_GB.UTF-8
$ locale first_weekday
2
$ locale day
Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday

/* this means Monday then */


$ LANG=en_US.UTF-8
$ locale day
Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday
$ locale first_weekday
1
/* So this is Sunday */

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20110311/a10fb194/attachment.html>


More information about the Xfce mailing list