From: Johannes Sixt <j.sixt@viscovery.net>
To: sverre@rabbelier.nl
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Date parsing
Date: Tue, 10 Jun 2008 17:07:38 +0200 [thread overview]
Message-ID: <484E98BA.70808@viscovery.net> (raw)
In-Reply-To: <bd6139dc0806100758xb41d08dh18e3051088b707e5@mail.gmail.com>
Sverre Rabbelier schrieb:
> Heya,
>
> I noticed that we parse
> GIT_COMMITTER_DATE="31-05-2008 11:30pm" as "31st of July at 23:30 +0200"
> whereas we parse
> GIT_COMMITTER_DATE="01-06-2008 11:30pm" as "6th of January at 23:30 +0100"
>
> Not only is it strange that we accept both orders (since apparently we
> don't resort to the latter order unless the first digit > 12), but
> it's also weird that the timezone changes based on which option was
> chosen! What does the list think about this? Is this "normal"
> behavior? If not, what (if anything) should we do about it?
Since you did not give a timezone, your local timezone is taken,
presumably MET, which has daylight saving time in July, but not in
January. This is OK.
-- Hannes
next prev parent reply other threads:[~2008-06-10 15:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 14:58 Date parsing Sverre Rabbelier
2008-06-10 15:07 ` Johannes Sixt [this message]
2008-06-10 15:27 ` Sverre Rabbelier
2008-06-10 15:10 ` Brandon Casey
2008-06-10 15:31 ` Sverre Rabbelier
2008-06-10 16:55 ` Linus Torvalds
2008-06-10 17:51 ` Sverre Rabbelier
2008-06-21 21:52 ` Stephan Beyer
2008-06-21 22:28 ` Linus Torvalds
2008-06-21 22:37 ` Linus Torvalds
2008-06-21 22:40 ` Stephan Beyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=484E98BA.70808@viscovery.net \
--to=j.sixt@viscovery.net \
--cc=git@vger.kernel.org \
--cc=sverre@rabbelier.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox