From dhke@freenet.de  Sat Sep 25 08:39:16 2004
Return-Path: <dhke@freenet.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 08BFB16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Sep 2004 08:39:16 +0000 (GMT)
Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5E19743D31
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Sep 2004 08:39:15 +0000 (GMT)
	(envelope-from dhke@freenet.de)
Received: from [194.97.50.135] (helo=mx2.freenet.de)
	by mout2.freenet.de with esmtpa (Exim 4.42)
	id 1CB85K-0003NP-Or
	for FreeBSD-gnats-submit@freebsd.org; Sat, 25 Sep 2004 10:39:14 +0200
Received: from p5091dacf.dip.t-dialin.net ([80.145.218.207] helo=peter.home.wul)
	by mx2.freenet.de with esmtpa (ID dhke@freenet.de) (Exim 4.42 #1)
	id 1CB85K-0002ld-9I
	for FreeBSD-gnats-submit@freebsd.org; Sat, 25 Sep 2004 10:39:14 +0200
Received: (qmail 4128 invoked by uid 1001); 25 Sep 2004 08:39:11 -0000
Message-Id: <20040925083911.4127.qmail@peter.home.wul>
Date: 25 Sep 2004 08:39:11 -0000
From: Peter Wullinger <some-mail-drop@gmx.net>
Reply-To: Peter Wullinger <some-mail-drop@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] German locales use old %d.%m.%y date format instead of newer ISO date
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72076
>Category:       conf
>Synopsis:       [patch] [locale] German locales use old %d.%m.%y date format instead of newer ISO date
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 25 08:40:25 GMT 2004
>Closed-Date:    Mon Jun 15 02:19:14 UTC 2009
>Last-Modified:  Mon Jun 15 02:19:14 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-standards->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Oct 30 07:17:33 GMT 2004 
Responsible-Changed-Why:  
This is more appropriate a 'conf' (configuration file) problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72076 
Responsible-Changed-From-To: freebsd-bugs->freebsd-i18n 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon May 18 15:09:40 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72076 
State-Changed-From-To: open->patched 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 8 05:33:21 UTC 2009 
State-Changed-Why:  
Committed to head. 


Responsible-Changed-From-To: freebsd-i18n->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jun 8 05:33:21 UTC 2009 
Responsible-Changed-Why:  
Grab for MFC in one week 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72076 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/72076: commit references a PR
Date: Mon,  8 Jun 2009 05:33:25 +0000 (UTC)

 Author: edwin
 Date: Mon Jun  8 05:33:08 2009
 New Revision: 193688
 URL: http://svn.freebsd.org/changeset/base/193688
 
 Log:
   [patch] [locale] German locales use old %d.%m.%y date format instead of newer ISO date
   
   From the submitter:
   
       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.
   
   PR:		conf/72076
   Submitted by:	Peter Wullinger <some-mail-drop@gmx.net>
   MFC after:	1 week
 
 Modified:
   head/share/timedef/de_DE.ISO8859-1.src
   head/share/timedef/de_DE.UTF-8.src
 
 Modified: head/share/timedef/de_DE.ISO8859-1.src
 ==============================================================================
 --- head/share/timedef/de_DE.ISO8859-1.src	Mon Jun  8 05:11:35 2009	(r193687)
 +++ head/share/timedef/de_DE.ISO8859-1.src	Mon Jun  8 05:33:08 2009	(r193688)
 @@ -59,7 +59,7 @@ Samstag
  #
  # x_fmt
  #
 -%d.%m.%Y
 +%Y-%m-%d
  #
  # c_fmt
  #
 
 Modified: head/share/timedef/de_DE.UTF-8.src
 ==============================================================================
 --- head/share/timedef/de_DE.UTF-8.src	Mon Jun  8 05:11:35 2009	(r193687)
 +++ head/share/timedef/de_DE.UTF-8.src	Mon Jun  8 05:33:08 2009	(r193688)
 @@ -59,7 +59,7 @@ Samstag
  #
  # x_fmt
  #
 -%d.%m.%Y
 +%Y-%m-%d
  #
  # c_fmt
  #
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: edwin 
State-Changed-When: Mon Jun 15 02:17:24 UTC 2009 
State-Changed-Why:  
Change backed out after objections out of the field. 
We should try again in five years! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72076 
>Unformatted:
