From nobody@FreeBSD.org  Mon May 24 06:26:59 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 79839106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 May 2010 06:26:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 681788FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 May 2010 06:26:59 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4O6Qwdw007173
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 May 2010 06:26:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4O6Qwu6007172;
	Mon, 24 May 2010 06:26:58 GMT
	(envelope-from nobody)
Message-Id: <201005240626.o4O6Qwu6007172@www.freebsd.org>
Date: Mon, 24 May 2010 06:26:58 GMT
From: "Daniel O'Callaghan" <danny@clari.net.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Afrikaans LC_TIME is incorrect (symlink to en_US)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146908
>Category:       conf
>Synopsis:       Afrikaans LC_TIME is incorrect (symlink to en_US)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 24 06:30:02 UTC 2010
>Closed-Date:    
>Last-Modified:  Mon Oct 18 10:49:16 UTC 2010
>Originator:     Daniel O'Callaghan
>Release:        8.0-STABLE
>Organization:
Clarinet Internet Solutions
>Environment:
FreeBSD phoenix.clari.net.au 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Apr 30 12:30:05 UTC 2010     danny@:/usr/src/sys/i386/compile/PHOENIX  i386

>Description:
LC_TIME files /usr/share/locale/af_ZA.* are incorrectly symlinked to en_US.ISO8859-1/LC_TIME

>How-To-Repeat:

>Fix:
Substitute attached file as af_ZA.ISO8859-1/LC_TIME and symlink with af_ZA.IS8859-15/LC_TIME and af_ZA.UTF-8/LC_TIME

Patch attached with submission follows:

Jan
Feb
Mrt
Apr
Mei
Jun
Jul
Aug
Sep
Okt
Nov
Des
Januarie
Februarie
Maart
April
Mei
Junie
Julie
Augustus
September
Oktober
November
Desember
So
Ma
Di
Wo
Do
Vr
Sa
Sondag
Maandag
Dinsdag
Woensdag
Donderdag
Vrydag
Saterdag
%H:%M:%S
%d/%m/%Y
%a %e %b %X %Y
AM
PM
%a %e %b %X %Z %Y
Januarie
Februarie
Maart
April
Mei
Junie
Julie
Augustus
September
Oktober
November
Desember
dm
%I:%M:%S %p


>Release-Note:
>Audit-Trail:

From: John Hay <jhay@meraka.org.za>
To: Daniel O'Callaghan <danny@clari.net.au>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/146908: Afrikaans LC_TIME is incorrect (symlink to en_US)
Date: Mon, 24 May 2010 10:22:24 +0200

 Should the date not be: %Y-%m-%d?
 South Africa has adopted ISO 8601 years ago, and while some people still
 use various styles, this is the official one.
 
 As a side issue, is the locale file format documented somewhere? I could
 not find it quickly?
 
 John
 -- 
 John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org

From: Daniel O'Callaghan <danny@clari.net.au>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: misc/146908: Afrikaans LC_TIME is incorrect (symlink to en_US)
Date: Tue, 25 May 2010 09:10:02 +1000

 I've simply translated the glibc af_ZA LC_TIME.  I'm not actually South
 African myself.  I was just puzzled at the symlink to en_US which 
 obviously does not provide Afrikaans day/month names, and provides a 
 date format which is MM/DD which is not used at all in ZA.
 
 See
 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/locales/af_ZA?rev=1.14&content-type=text/x-cvsweb-markup&cvsroot=glibc
 
 http://en.wikipedia.org/wiki/Date_and_time_notation_by_country does
 report ZA as officially using ISO 8601.
 
 Since you *are* from South Africa, I defer to your local knowledge.
 You might like to confer with dwayne@translate.org.za who appears to 
 maintain the glibc af_ZA locale (at least he did in 2005)
 
 If ZA officially uses ISO 8601, then perhaps en_ZA/LC_TIME should also 
 be created to reflect that.  I notice that en_ZA is not present in 
 FreeBSD, and none of the other en_*/LC_TIME files use %Y-%m-%d as x_fmt
 
 > As a side issue, is the locale file format documented somewhere? I could
 > not find it quickly.
 
 LC_TIME format is defined in /usr/src/lib/libc/stdtime/timelocal.h as
 struct lc_time_T {
        const char      *mon[12];
        const char      *month[12];
        const char      *wday[7];
        const char      *weekday[7];
        const char      *X_fmt;
        const char      *x_fmt;
        const char      *c_fmt;
        const char      *am;
        const char      *pm;
        const char      *date_fmt;
        const char      *alt_month[12];
        const char      *md_order;
        const char      *ampm_fmt;
 };
 
 Thanks very much,
 
 Danny
 
Responsible-Changed-From-To: freebsd-bugs->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 18 10:49:05 UTC 2010 
Responsible-Changed-Why:  
I'll take care of it. 

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