Orage Calender Month Display Starts on Tuesday?

Juha kautto.juha at kolumbus.fi
Fri Jan 28 14:27:03 CET 2011


28.01.2011 14:54, Andrew kirjoitti:
> On 01/28/2011 01:39 PM, Scott Morgan wrote:
>> XFCE 4.6
>>
>> For some reason the month display has started showing the first day of
>> the week as Tuesday.
>>
>> I don't think this is a Orage issue directly as some other apps are
>> showing the same thing with their month display. It must be a setting
>> for the calender control. But what setting and how do I change it?
>>
> I've suffered from this for some time and the only way I can get round 
> it is by setting LANG=en_US instead of en_GB.
>
> Andrew
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
 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/20110128/d0004ec6/attachment.html>


More information about the Xfce mailing list