[CentOS] 'date' format differences between CentOS 6 and 7 using the en_GB locale ?

Thu Nov 15 15:23:58 UTC 2018
James Pearson <james-p at moving-picture.com>

Tony Mountifield wrote:
> 
> In article <429fd6a2-d125-c231-b066-14a398da4aa9 at moving-picture.com>,
> James Pearson <james-p at moving-picture.com> wrote:
>> Just noticed that the output of 'date' is different between CentOS 6 and
>> 7 when using the 'en_GB' locale - e.g.:
>>
>> CentOS 6:
>>
>>    % LANG=en_GB date
>>    Thu Nov 15 11:42:46 GMT 2018
>>    % LANG=en_US date
>>    Thu Nov 15 11:42:56 GMT 2018
>>
>> CentOS 7:
>>
>>    % LANG=en_GB date
>>    Thu 15 Nov 11:43:07 GMT 2018
>>    % LANG=en_US date
>>    Thu Nov 15 11:43:11 GMT 2018
>>
>> i.e. with LANG=en_GB on CentOS 7, the day and month are swapped when
>> compared with CentOS 6
>>
>> Any one know why the en_GB locale has changed between CentOS 6 and 7 ?
>>
>> Thanks
>>
>> James Pearson
> 
> Looks like a simple oversight or bug in RHEL 6 that was fixed for 7.
> The latter is correct for UK standard usage. CentOS just follows RHEL.
> 
> It is defined in the file /usr/share/i18n/locales/en_GB
> 
> CentOS 6 has:
> 
> date_fmt    "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
> 
> which translates to "%a %b %e", e.g. "Thu Nov 15"
> 
> CentOS 7 has:
> 
> date_fmt    "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062>/
> 
> which translates to "%a %e %b", e.g. "Thu 15 Nov"

Thanks - I guess I was so used to the RHEL/CentOS 6 format, I didn't 
realise it wasn't British :-)

James Pearson