Your message dated Tue, 22 May 2018 10:00:06 -0400
with message-id <[email protected]>
and subject line Re: Bug#899308: date -d does not recognise git date format
has caused the Debian Bug report #899308,
regarding date -d does not recognise git date format
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
899308: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899308
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: coreutils
Version: 8.28-1
I am lazy and can't remember timezones. So I want to use 'date -d' to
convert from the date in a git commit to local time.
Date: Thu May 17 17:04:43 2018 +1000
$ date -d 'Thu May 17 17:04:43 2018 +1000'
date: invalid date ‘Thu May 17 17:04:43 2018 +1000’
$ date -d 'Thu May 17 17:04:43+1000'
Thu May 17 03:04:43 EDT 2018
I don't know why git chose this format over any other of the myriad date
formatting standards we have, but it doesn't seem like it would be too
hard to recognise this format in addition to all the others.
--- End Message ---
--- Begin Message ---
On Tue, May 22, 2018 at 06:46:49AM -0700, Matthew Wilcox wrote:
I don't know why git chose this format over any other of the myriad date
formatting standards we have
I also have no idea what the world needed another bizarro date format. I
suggest configuring git log.date=iso or --date=iso
Mike Stone
--- End Message ---