From owner-freebsd-bugs@FreeBSD.ORG Mon May 24 23:30:04 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B33911065672 for ; Mon, 24 May 2010 23:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 899008FC1A for ; Mon, 24 May 2010 23:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4ONU402044980 for ; Mon, 24 May 2010 23:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4ONU4YR044977; Mon, 24 May 2010 23:30:04 GMT (envelope-from gnats) Date: Mon, 24 May 2010 23:30:04 GMT Message-Id: <201005242330.o4ONU4YR044977@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Daniel O'Callaghan" Cc: Subject: Re: misc/146908: Afrikaans LC_TIME is incorrect (symlink to en_US) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel O'Callaghan List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2010 23:30:04 -0000 The following reply was made to PR misc/146908; it has been noted by GNATS. From: Daniel O'Callaghan 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 John, > 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. 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