[Bug 1657473] [NEW] date format incorrect for a number of Timezones

Launchpad Bug Tracker 1657473 at bugs.launchpad.net
Fri Jan 20 11:14:26 UTC 2017


You have been subscribed to a public bug:

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

** Affects: tzdata (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
date format incorrect for a number of Timezones
https://bugs.launchpad.net/bugs/1657473
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to tzdata in Ubuntu.



More information about the foundations-bugs mailing list