Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Aug 2016 17:44:59 +0200
From:      Mark Martinec <Mark.Martinec+freebsd@ijs.si>
To:        freebsd-current@freebsd.org
Subject:   Re: date(1) default format changed between 10.3 and 11.0-BETA3
Message-ID:  <e851f0064ec13ff99d64e63b74f10d58@mailbox.ijs.si>
In-Reply-To: <279e9b67-da23-cdd6-3a77-b084ad8269eb@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 may not say what an abbreviated name really looks like
in a particular locale, but it does distinguish between
full and abbreviated names.

   Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e851f0064ec13ff99d64e63b74f10d58>