Date: 25 Sep 2004 17:51:09 -0000 From: Peter Wullinger <some-mail-drop@gmx.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Hye-Shik Chang <perky@FreeBSD.org> Subject: ports/72084: [patch] German locales use old %d.%m.%y date format instead of newer ISO date Message-ID: <20040925175109.3854.qmail@peter.home.wul> Resent-Message-ID: <200409251800.i8PI0abf061506@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040925175109.3854.qmail>