Wrong first day of week for "C" locale

Bug #318507 reported by Dean Bob
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Jaunty by Dean Bob

Bug Description

In Ubuntu 9.04 "Jaunty Jackalope," cal displays Saturday as the first day of the week instead of Sunday when the locale is set to C.

e.g.

    January 2009
Sa Su Mo Tu We Th Fr
                1 2
 3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

Related branches

Revision history for this message
C de-Avillez (hggdh2) wrote :

There is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=327025 about a similar behaviour some years ago, but it has been closed for quite a long time.

This may be a regression on libc6, or a locale issue, not sure. Assigning to GLIBC, marking as confirmed.

to test:

hggdh@xango2:~/libpst $ env LC_ALL=C cal
    January 2009
Sa Su Mo Tu We Th Fr
                1 2
 3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
hggdh@xango2:~/libpst $ env LC_ALL=en_US.UTF8 cal
    January 2009
Su Mo Tu We Th Fr Sa
             1 2 3
 4 5 6 7 8 9 10
11 12 13 14 15 16 17

Revision history for this message
Andy Whitcroft (apw) wrote :

I can confirm that the output of this command has changed from Intrepid to Jaunty:

Intrepid:

    $ env LC_ALL=C cal
        January 2009
    Su Mo Tu We Th Fr Sa
                 1 2 3
     4 5 6 7 8 9 10
    11 12 13 14 15 16 17
    18 19 20 21 22 23 24
    25 26 27 28 29 30 31

Jaunty:

    $ env LC_ALL=C cal
        January 2009
    Sa Su Mo Tu We Th Fr
                    1 2
     3 4 5 6 7 8 9
    10 11 12 13 14 15 16
    17 18 19 20 21 22 23
    24 25 26 27 28 29 30
    31

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glibc - 2.9-0ubuntu8

---------------
glibc (2.9-0ubuntu8) jaunty; urgency=low

  * Merge with Debian, glibc-2.9 branch, r3241.
  * Apply localedata patches. LP: #318507.
  * Remove progressions from expected test results.

 -- Matthias Klose <email address hidden> Mon, 19 Jan 2009 18:26:53 +0100

Changed in glibc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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