Date formats are a function of your locale, not your timezone. When
using a GB locale, the output is, indeed, what you expect it to be:
(base)adconrad@nosferatu:~$ LANG=fr_FR.UTF-8 TZ=Europe/London date
jeudi 9 novembre 2017, 23:08:00 (UTC+)
(base)adconrad@nosferatu:~$ LANG=en_US.UTF-8 TZ=Europe/London date
Thu Nov 9 23:08:03 GMT 2017
(base)adconrad@nosferatu:~$ LANG=en_GB.UTF-8 TZ=Europe/London date
Thu 9 Nov 23:08:06 GMT 2017
** Changed in: tzdata (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/1657473
Title:
date format incorrect for a number of Timezones
Status in tzdata package in Ubuntu:
Invalid
Bug description:
Body:
For a number of locales, for example, TZ=Europe/London, the default
format of the date command is wrong. At least one other timezone is
affected: TZ=Africa/Johannesburg has the same bug.
$(TZ=Europe/London;date)
Wed Jan 18 13:59:33 GMT 2017
This format is wrong. It should be:
$(TZ=Europe/London;date)
Wed 18 Jan 13:59:33 GMT 2017
In other words, the date format should be:
date +%a\ %d\ %b\ %H:%M:%S\ %Z\ %Y
Not, as it currently is:
date +%a\ %b\ %d\ %H:%M:%S\ %Z\ %Y
affects ubuntu
status new
--
Peter Brooks
Mobile: +27 82 717 6404
Direct: +27 21 447 9752
Skype: Fustbariclation
Twitter: Fustbariclation
Google+: Fustbariclation
Author Page: amazon.com/author/peter_brooks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/1657473/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp