ports/72084: [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 18:00:36 UTC 2004
>Number: 72084
>Category: ports
>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-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 25 18:00:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Peter Wullinger
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD peter 5.2-CURRENT FreeBSD 5.2-CURRENT #4: Mon Sep 20 13:56:33 CEST 2004 root at peter:/usr/src/sys/i386/compile/PETER i386
Any machine with misc/utf8locale port installed.
>Description:
This is the same update as PR/72076
(http://www.freebsd.org/cgi/query-pr.cgi?pr=72076), but
for the utf8locale port.
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
>Fix:
Apply the following patch to utf8locale-1.5:
diff -ru utf8locale-1.5.orig/timedef/de_DE.UTF-8.src utf8locale-1.5/timedef/de_DE.UTF-8.src
--- utf8locale-1.5.orig/timedef/de_DE.UTF-8.src Sat Nov 2 05:57:11 2002
+++ utf8locale-1.5/timedef/de_DE.UTF-8.src Sat Sep 25 19:28:43 2004
@@ -59,7 +59,7 @@
#
# x_fmt
#
-%d.%m.%Y
+%Y-%m-%d
#
# c_fmt
#
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list