← Back to team overview

desktop-packages team mailing list archive

[Bug 517397] Re: Incorrect date format in en_CA.UTF-8 locale

 

Fixed.
https://launchpad.net/ubuntu/+source/langpack-locales/2.13+git20120306-14

** Changed in: langpack-locales (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to langpack-locales in Ubuntu.
https://bugs.launchpad.net/bugs/517397

Title:
  Incorrect date format in en_CA.UTF-8 locale

Status in “langpack-locales” package in Ubuntu:
  Fix Released

Bug description:
  Bug #214730 resulted in an *incorrect* change of d_fmt in the Canadian
  English/UTF-8 locale.

  The date format was "%d/%m/%y" (04/02/10), then it was changed to
  "%y-%m-%d" (10-02-04). Even though the bug thread cited several
  references to Canadian standard CSA Z234.5:1989, which is identical to
  ISO 8601, the second format is ALSO incorrect.

  From http://en.wikipedia.org/wiki/ISO_8601#Years:

  "ISO 8601 prescribes, as a minimum, a four-digit year [YYYY] to avoid
  the year 2000 problem."

  From the FAQ page at the Government of Canada website (http://www.nrc-
  cnrc.gc.ca/eng/ibp/inms/about/faq-time.html#Q8) that was linked from
  the other issue:

  "The recommended full format is of the form 2001-12-31 23:59:28.73
  UTC."

  The correct format is "%Y-%m-%d" (2010-02-04).

  $ lsb_release -rd && apt-cache policy locales
  Description:    Ubuntu 9.10
  Release:        9.10
  locales:
    Installed: 2.9+git20090617-3
    Candidate: 2.9+git20090617-3
    Version table:
   *** 2.9+git20090617-3 0
          500 http://ubuntu.mirror.rafal.ca karmic/main Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/517397/+subscriptions