Re: date(1) default format changed between 10.3 and 11.0-BETA3

From: Mark Martinec <Mark.Martinec+freebsd_at_ijs.si>
Date: Fri, 05 Aug 2016 17:44:59 +0200
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
Received on Fri Aug 05 2016 - 13:45:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:07 UTC