Re: Date parsing
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jun 10, 2008, 15:07 UTC
- Message-ID
- <484E98BA.70808@viscovery.net>
- In-Reply-To
- <bd6139dc0806100758xb41d08dh18e3051088b707e5@mail.gmail.com>
Sverre Rabbelier schrieb:
Show 12 quoted lines
> 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