Date parsing

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Git Mailing List <git@...>
Subject: Date parsing
Date: Tuesday, June 10, 2008 - 10:58 am

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?

-- 
Cheers,

Sverre Rabbelier
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Date parsing, Sverre Rabbelier, (Tue Jun 10, 10:58 am)
Re: Date parsing, Brandon Casey, (Tue Jun 10, 11:10 am)
Re: Date parsing, Sverre Rabbelier, (Tue Jun 10, 11:31 am)
Re: Date parsing, Linus Torvalds, (Tue Jun 10, 12:55 pm)
Re: Date parsing, Stephan Beyer, (Sat Jun 21, 5:52 pm)
Re: Date parsing, Linus Torvalds, (Sat Jun 21, 6:28 pm)
Re: Date parsing, Stephan Beyer, (Sat Jun 21, 6:40 pm)
Re: Date parsing, Linus Torvalds, (Sat Jun 21, 6:37 pm)
Re: Date parsing, Sverre Rabbelier, (Tue Jun 10, 1:51 pm)
Re: Date parsing, Johannes Sixt, (Tue Jun 10, 11:07 am)
Re: Date parsing, Sverre Rabbelier, (Tue Jun 10, 11:27 am)