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

Mark Martinec Mark.Martinec+freebsd at ijs.si
Fri Aug 5 15:45:04 UTC 2016


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


More information about the freebsd-current mailing list