[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#402461: de_* locales do not comply with ISO 8601



Package: locales
Version: 2.3.6.ds1-8
Severity: normal
Tags: patch

Hi!

In Germany, Austria and Switzerland (at least), the officially correct
date format is regulated by ISO 8601. It has been this way for several
years now. It has been obligatory for all European countries since 1992
as EN 26801:1992, and just recently was adopted as the German standard
DIN ISO 8601:2006-09
See http://www.nbue.din.de/sixcms/detail.php?id=7093 (in German). The
standard itself is not freely available, but I can get hold of a copy if
that is necessary.

I have attached a first attempt to correct these formats in the glibc
locales package, at least for Germany and Switzerland.

Several other European countries have also adopted this standard as part
of their national standards system. However, I have not found a good
source yet that lists all the affected countries.

Maybe it would be a good idea to ask the authors of the individual
locale files to check the status in their country and update the files.
I just post it here so there is a central place for discussion of this
issue.

The following locales also have the (old) German date format defined
(some of them may still be correct though):
aa_DJ az_AZ be_BY be_BY@latin br_FR bs_BA cs_CZ et_EE fi_FI fr_FR fr_LU
hr_HR hsb_DE kk_KZ ky_KG mg_MG mk_MK oc_FR ro_RO ru_RU ru_UA rw_RW sk_SK
so_DJ sr_CS sr_ME tg_TJ tt_RU uk_UA wo_SN

Hope this helps to improve the locales distribution and establish the
new standard.

Regards, Andre

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages locales depends on:
ii  debconf [debconf-2.0]        1.5.8       Debian configuration management sy
ii  libc6 [glibc-2.3.6.ds1-1]    2.3.6.ds1-8 GNU C Library: Shared libraries

locales recommends no packages.

-- debconf information:
* locales/default_environment_locale: en_US
* locales/locales_to_be_generated: en_US ISO-8859-1
diff -u locales/de_CH locales-ISO8601/de_CH
--- locales/de_CH	2006-12-10 16:54:58.000000000 +0100
+++ locales-ISO8601/de_CH	2006-12-10 17:01:04.000000000 +0100
@@ -114,7 +114,7 @@
         "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
         "<U0044><U0065><U007A><U0065><U006D><U0062><U0065><U0072>"
 d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
-d_fmt   "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
+d_fmt   "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
 t_fmt   "<U0025><U0054>"
 am_pm   "";""
 t_fmt_ampm ""
diff -u locales/de_DE locales-ISO8601/de_DE
--- locales/de_DE	2006-12-10 16:54:58.000000000 +0100
+++ locales-ISO8601/de_DE	2006-12-10 16:56:35.000000000 +0100
@@ -143,8 +143,8 @@
 d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
 %
 % Appropriate date representation (%x)
-%	"%d.%m.%Y"
-d_fmt   "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
+%	"%Y-%m-%d"
+d_fmt   "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
 %
 % Appropriate time representation (%X)
 %	"%T"

Reply to: