[Bug 939772] Re: cal in Ubuntu Oneiric ignores locale for start of week

Rolf Leggewie 939772 at bugs.launchpad.net
Wed Aug 14 12:56:10 UTC 2013


confirming this regression for precise when compared to lucid

Lucid (works as it should)
$ LC_ALL=en_US.UTF-8 cal
    August 2013
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
$ LC_ALL=de_DE.UTF-8 cal
    August 2013
Mo Di Mi Do Fr Sa So
          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

Precise (buggy):
$ LC_ALL=C cal
    August 2013       
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  
$ LC_ALL=de_DE.UTF-8 cal
    August 2013       
So Mo Di Mi Do 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  


** Tags added: precise regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bsdmainutils in Ubuntu.
https://bugs.launchpad.net/bugs/939772

Title:
  cal in Ubuntu Oneiric ignores locale for start of week

Status in “bsdmainutils” package in Ubuntu:
  Confirmed

Bug description:
  Being British, I am using the en_GB locale, so I would expect cal to
  display months where Monday appears as the first day in the week.
  Instead, it displays Sunday as the first day of the week, thus:

     February 2012      
  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

  For me, the LANG variable is set to en_GB.UTF-8

  It seems that cal might be hardcoded to a US locale where Sunday is
  always the first day of the week.

  Note that this only appears to have happened on Ubuntu Oneiric
  (11.10).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: bsdmainutils 8.2.3
  ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
  Uname: Linux 3.0.0-16-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Thu Feb 23 19:43:12 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: bsdmainutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/939772/+subscriptions




More information about the foundations-bugs mailing list