Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 18:56:33 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Mark Martinec <Mark.Martinec+freebsd@ijs.si>, freebsd-current@freebsd.org
Subject:   Re: date(1) default format changed between 10.3 and 11.0-BETA3
Message-ID:  <4a454eef-55ae-b90d-4441-2aa9708fc747@freebsd.org>
In-Reply-To: <e851f0064ec13ff99d64e63b74f10d58@mailbox.ijs.si>
References:  <dc9483611fd37e051fb68532daf10066@mailbox.ijs.si> <3629a441-ee6d-2407-fa13-5ebd8db8d802@freebsd.org> <000c29ee0f3dbd1d433c565023d69e25@mailbox.ijs.si> <a260a332-0c30-2338-bdd8-840524e8bfd8@freebsd.org> <f51cd89227047ff9249d9ecd68cf1646@mailbox.ijs.si> <279e9b67-da23-cdd6-3a77-b084ad8269eb@freebsd.org> <e851f0064ec13ff99d64e63b74f10d58@mailbox.ijs.si>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05.08.2016 18:44, Mark Martinec wrote:
> On 2016-08-05 17:23, Andrey Chernov wrote:
>> On 05.08.2016 17:47, Mark Martinec wrote:
>>> [Bug 211598]
>>>   date(1) default format in en_EN locale breaks compatibility with 10.3
>>> and violates POSIX
>>>
>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211598
>>
>> It breaks compatibility but not violates POSIX. POSIX care of only its
>> own POSIX (or C) locale.
> 
> POSIX does say that the default format should be the same
> as with "+%a %b %e %H:%M:%S %Z %Y".
> It also says that %a and %b are locale's abbreviated names.

It is true for _POSIX_ locale only, as I already say. en_US.* is not
POSIX or C locale.

> It may not say what an abbreviated name really looks like
> in a particular locale, but it does distinguish between
> full and abbreviated names.

It says nothing about other locales. Current format comes from CLDR, ask
bapt@





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4a454eef-55ae-b90d-4441-2aa9708fc747>