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

James Pearson

james-p at moving-picture.com
Thu Nov 15 11:49:41 UTC 2018


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


More information about the CentOS mailing list