! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
First weekday issues
Status:
CLOSED: DUPLICATE

Comments

Description Chris Carlin 2006-11-07 14:45:15 CET
I see from #1328 and #379 that this is an annoyingly messy and, well, just plain annoying. I thought I'd file this bug report just in case it would present a new slant on the issue.

I'm running a Gentoo installation with gtk+ 2.8.19

~ $ locale week-1stday
19971201
~ $ locale first_weekday
1

And yet orage's calendar starts on Monday.
Comment 1 juha editbugs 2006-11-07 16:34:52 CET
Well, I agree.
Anyway, your distro starts counting from 19971201, which is Monday
and you ask to get first day, which is then Monday. 
So Orage starts with Monday.

What does 
$ locale day 
give in your system?

What is your LANG set to?

You want first weekday to be Sunday?
Comment 2 Chris Carlin 2006-11-07 16:54:44 CET
~ $ echo $LANG
en_US
~ $ locale day
Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday

Yes, I'm US based and would like it to start on Sunday.

I hadn't noticed that my start date was different from the others. Should I yell at Gentoo about this? I fear you'll get even more complaints over this...
Comment 3 juha editbugs 2006-11-07 17:38:50 CET
Yes, indeed I think Gentoo is then starting this count from wrong date.
If they change the counting to start from 19971130 instead, it should work.

There might be another locale that works for you, but it is trial and error.
I would try C and en_US.UTF-8, which both cause orage to start as Sunday in
my Ubuntu system. 
But my 
$ locale week-1stday
19971130
$ locale first_weekday
1

Is correct and different to yours, so probably those do not help in your system.
Comment 4 juha editbugs 2006-11-08 06:36:45 CET
setting dup
Comment 5 juha editbugs 2006-11-08 06:37:06 CET

*** This bug has been marked as a duplicate of bug 1328 ***
Comment 6 Chris Carlin 2006-12-22 14:46:43 CET
I finally got a chance to settle this over in Gentoo-land (the wonky calendar was a nice daily reminder). It's a known bug, see: http://bugs.gentoo.org/show_bug.cgi?id=120995

Just for the sake of completeness...
Comment 7 Brian J. Tarricone (not reading bugmail) 2007-01-26 18:58:46 CET
Moving all bugs to new Orage product.
Comment 8 juha editbugs 2011-09-17 14:03:22 CEST
*** Bug 7980 has been marked as a duplicate of this bug. ***

Bug #2536

Reported by:
Chris Carlin
Reported on: 2006-11-07
Last modified on: 2011-09-17
Duplicates (1):

People

CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information