gaborcsardi / parsedate

R package to parse dates given in arbitrary formats
65 stars 7 forks source link

Non-summer dates from git are wrong #5

Closed gaborcsardi closed 10 years ago

gaborcsardi commented 10 years ago

E.g. parse_date("010203") gives 2003-01-01 23:00:00 UTC.

gaborcsardi commented 10 years ago

Yeah, unfortunately this is neglected in git: https://github.com/git/git/blob/master/date.c#L221 https://github.com/git/git/blob/master/date.c#L332

gaborcsardi commented 10 years ago

This is fixed, but the git parser is not as good as I I thought. :(