fuel/core — pull request #788 by bencorlett (2012-01-24 23:48:53+00:00)
Title: Fixing strptime implementation in windows for dates that aren't recognis...

...ed by strotime() (i.e. EVERYBODY but USA).

On Windows, when using Date::create_from_string(), the current implementation assumes that strtotime() will convert the string to a timestamp. When it doesn't and returns false, the strptime() implementation returns the current timestamp.

So when I do http://d.pr/AL7S, I expect to see http://d.pr/UhWf, however I see http://d.pr/GSH. My fix allows (most of) strftime() formats to be recognised, at least a lot more than it did.

Signed-off-by: Ben Corlett