When I run orage with LANG=cs_CZ or LC_ALL/LC_TIME set to "cs_CZ", it sets "week starts on Sunday" instead on Monday, what should be in fact. Strange enough that when using "en_US" ends up with week started on Monday, what is IMHO also wrong. Reproducible: Always Steps to Reproduce: 1. kill orage if it's running 2. export LC_ALL=cs_CZ 3. run orage Actual Results: weeks in orage starts with Sunday(Nedele) Expected Results: weeks in orage should start with Monday(Pondeli) Newest Zenwalk packages are installed incl. GTK+2 2.8.9
Tested with Gtk+ 2.4.13 Can not reproduce. Works correctly. Can you show what locale -kc LC_TIME | grep first_weekday and locale -a | grep cs gives. What is your linux distro ? I will test with never gtk+ later....
Hello again, I'm testing it on full new Zenwalk 2.0.1 distribution now (other PC) and it still behaves strangely: > Can you show what > locale -kc LC_TIME | grep first_weekday > and > locale -a | grep cs > gives. vlk[~]$ export LANG=cs_CZ vlk[~]$ xfcalendar vlk[~]$ locale -kc LC_TIME | grep first_weekday first_weekday=1 vlk[~]$ export LANG= vlk[~]$ locale -kc LC_TIME | grep first_weekday first_weekday=7 vlk[~]$ locale -a | grep cs cs_CZ cs_CZ.utf8 Important: when LANG is not set, week starts with SATURDAY(!), if set to cs_CZ, it starts with Nedele (ie. Sunday equivalent). Both should be one day lter IMHO. FYI: gtk+2 version: 2.8.7 I found other strange thing when I do locale -kc LC_TIME, I can see line: day="Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday" So while still nonsense, it is consistent. Dates are otherwise OK.
ok. I did some (actually a lot) more checking. And first of all this is a mess. Secondly, I believe the problem is in your locale settings. And I mean that locale cs_CZ is wrong. It probably misses the definition of first_weekday and then default value 1 is used. Check: locale week-1stday and locale first_weekday The first one gives a starting date, for example with locale [juha:~]$ export LANG=fi_FI.UTF-8 [juha:~]$ locale week-1stday 19971130 [juha:~]$ locale first_weekday 2 Which means that we start counting from 30. November 1997, which is Sunday and count 2-1=1 step forward, which brings us to first weekday = Monday. another example: [juha:~]$ export LANG=en_GB.UTF-8 [juha:~]$ locale week-1stday 19971130 [juha:~]$ locale first_weekday 1 Which gives Sunday. Both these work correctly in orage, which actuallyuses what ever gtk+ gtk_calendar widget gives. Orage itself does not modify week starting day anymore after gtk+ 2.4. This is very difficult. Try reading man locale.gen and check these bugs: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=80212 http://lists.debian.org/debian-glibc/2004/04/msg00341.html I hope this helps, but I think this is not orage problem, but instead a setup issue with your distro.
*** Bug 2536 has been marked as a duplicate of this bug. ***
Moving all bugs to new Orage product.
*** Bug 5438 has been marked as a duplicate of this bug. ***