standards/72076: [patch] German locales use old %d.%m.%y date
format instead of newer ISO date
Peter Wullinger
some-mail-drop at gmx.net
Sat Sep 25 01:40:26 PDT 2004
>Number: 72076
>Category: standards
>Synopsis: [patch] German locales use old %d.%m.%y date format instead of newer ISO date
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-standards
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 25 08:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Peter Wullinger
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
-
>Environment:
Any FreeBSD System with locale support.
>Description:
DIN 5008 (German norm for text processing) defines the old date
format (%d.%m.%Y) to be obsolete and to be used only, if unambigous.
In international communications the new format (%Y-%m-%d) is now
required and FreeBSD should respect this.
References:
- DIN 5008
- EN 28 601
- ISO 8601
Thanks to Oliver Lietz for bringing this to my attention.
>How-To-Repeat:
% export LC_ALL=de_DE.UTF-8
% date +%x
or
% export LC_ALL=de_DE.ISO8859-1
% date +%x
>Fix:
Apply the following patch and "make && make install" in /usr/share/timedef
--- /usr/src/share/timedef/de_DE.UTF-8.src.orig Sat Sep 25 09:16:23 2004
+++ /usr/src/share/timedef/de_DE.UTF-8.src Sat Sep 25 09:11:59 2004
@@ -59,7 +59,7 @@
#
# x_fmt
#
-%d.%m.%Y
+%Y-%m-%d
#
# c_fmt
#
--- /usr/src/share/timedef/de_DE.ISO8859-1.src.orig Sat Sep 25 09:16:23 2004
+++ /usr/src/share/timedef/de_DE.ISO8859-1.src Sat Sep 25 09:11:53 2004
@@ -59,7 +59,7 @@
#
# x_fmt
#
-%d.%m.%Y
+%Y-%m-%d
#
# c_fmt
#
Port patch for misc/utf8locale pending.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-standards
mailing list