Do

Clock Calendar shows Sunday at the start of the week

Bug #342411 reported by Grey Nicholson
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Do
Invalid
Undecided
Unassigned
NULL Project
Invalid
Undecided
Unassigned
mono (Ubuntu)
New
Undecided
Unassigned

Bug Description

Docky's calendar shows Sunday as the first day of the week. ISO says the week starts on Monday.

Revision history for this message
Jason Smith (jassmith) wrote :

Docky's calendar starts on whatever day of the week you locale says it does. So people with en_US locale will have it start on sunday, where as people with a swedish locale will have it start on monday.

Changed in do:
status: New → Invalid
Revision history for this message
Grey Nicholson (greytheearthling) wrote :

In that case this bug is in Ubuntu's en-GB locale.

(I haven't been able to find a plausible-looking package to report it against, so I've filed it against Ubuntu in general.)

Revision history for this message
Ville Ranki (ville-ranki) wrote :

Looks like it's currently not possible to change settings like this without changing language. Most (advanced) users prefer using English as language regardless of the local language. I'd suggest either adding a setting for this in calendar (fast & ugly) or adding setting for this in Gnome (slow but right).

Revision history for this message
Vish (vish) wrote :

Thank you for bringing this bug to our attention. Unfortunately a paper cut should be a small usability issue in the default install that affects many people and is quick and easy to fix. I'm afraid this bug can't be addressed as part of this project.

Gnome Do is not part of the default install , hence not a papercut.
For further info about papercuts criteria , pls read > https://wiki.ubuntu.com/PaperCut

Don't worry though, This bug has been marked as "invalid" ONLY in the papercuts project.

Changed in hundredpapercuts:
status: New → Invalid
Vish (vish)
affects: hundredpapercuts → null
Revision history for this message
Grey Nicholson (greytheearthling) wrote :

This bug isn't in Gnome Do—it's in Ubuntu's British English (en-GB) locale, which is part of the default installation for users in Britain.

Revision history for this message
Jan Rüegg (rggjan) wrote :

No, this doesn't seem to be the problem.

Here with me, the locale - setting is changed so Monday should be the start of week, and in the gnome-panel clock applet it works as it should and shows Monday as the start. But in gnome-do, the calendar shows after a restart and everything still sunday...

And as far as I know, the panel clock applet of gnome takes the setting also from the locales, because in both cases you cannot set the start of week in any "settings" dialogue...

Changed in do:
status: Invalid → New
Revision history for this message
Robert Dyer (psybers) wrote :

I have verified this code several times, we are doing the right thing.

*IF* it is not working, then there is a bug with Mono determining your locale. Please file an upstream report with Mono.

Changed in do:
status: New → Invalid
Revision history for this message
Ivars Strazdiņš (ivars-strazdins) wrote :

Same here with LV locale.
If this is Mono bug, where could it be reported?

ivarss@kurmis:~$ locale
LANG=lv_LV.UTF-8
LC_CTYPE="lv_LV.UTF-8"
LC_NUMERIC="lv_LV.UTF-8"
LC_TIME="lv_LV.UTF-8"
LC_COLLATE="lv_LV.UTF-8"
LC_MONETARY="lv_LV.UTF-8"
LC_MESSAGES="lv_LV.UTF-8"
LC_PAPER="lv_LV.UTF-8"
LC_NAME="lv_LV.UTF-8"
LC_ADDRESS="lv_LV.UTF-8"
LC_TELEPHONE="lv_LV.UTF-8"
LC_MEASUREMENT="lv_LV.UTF-8"
LC_IDENTIFICATION="lv_LV.UTF-8"
LC_ALL=
ivarss@kurmis:~$

Revision history for this message
Chris S. (cszikszoy) wrote : Re: [Bug 342411] Re: Clock Calendar shows Sunday at the start of the week

Hi, can open a terminal and type $ csharp

This should put you into a csharp shell, then type the following
(please use "Enter" to separate the lines in the csharp shell):
using System.Threading;
using System.Globalization;
Console.WriteLine (Thread.CurrentThread.CurrentCulture.Name);

2009/10/28 Ivars Strazdiņš <email address hidden>:
> Same here with LV locale.
> If this is Mono bug, where could it be reported?
>
> ivarss@kurmis:~$ locale
> LANG=lv_LV.UTF-8
> LC_CTYPE="lv_LV.UTF-8"
> LC_NUMERIC="lv_LV.UTF-8"
> LC_TIME="lv_LV.UTF-8"
> LC_COLLATE="lv_LV.UTF-8"
> LC_MONETARY="lv_LV.UTF-8"
> LC_MESSAGES="lv_LV.UTF-8"
> LC_PAPER="lv_LV.UTF-8"
> LC_NAME="lv_LV.UTF-8"
> LC_ADDRESS="lv_LV.UTF-8"
> LC_TELEPHONE="lv_LV.UTF-8"
> LC_MEASUREMENT="lv_LV.UTF-8"
> LC_IDENTIFICATION="lv_LV.UTF-8"
> LC_ALL=
> ivarss@kurmis:~$
>
> --
> Clock Calendar shows Sunday at the start of the week
> https://bugs.launchpad.net/bugs/342411
> You received this bug notification because you are a member of GNOME Do
> Core Team, which is subscribed to GNOME Do.
>
> Status in GNOME Do: Invalid
> Status in NULL Project: Invalid
> Status in Ubuntu: New
>
> Bug description:
> Docky's calendar shows Sunday as the first day of the week. ISO says the week starts on Monday.
>

Revision history for this message
Jan Rüegg (rggjan) wrote :

Ok, I tried this now. And that seems to be the problem, looks like I got an empty string for the CurrentCulture.Name:

jan@xeee ~ $ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> using System.Threading;
csharp> using System.Globalization;
csharp> Console.WriteLine (Thread.CurrentThread.CurrentCulture.Name);

csharp>

Revision history for this message
David Tombs (dgtombs) wrote :

Appears to be a bug with Mono finding locales, assigning to Mono.

affects: ubuntu → mono (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.