In his unit test adventures, emanchado found some problems with parse_http_time. Notably, the "Wednesday, 07 March 2012..." syntax was broken. Also, the months were all wrong when they got looked up by name.
I'm going to extract the patches to test and fix that into a separate branch so it can go on 0.2.2.x.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Review has turned up some other crazy things in our time parsing/handling.
wanoskarnet has found some places where we allow tm_sec to be up to 61. That's wrong; 60 is the highest supported value. We should grep for tm_sec to find all the cases of this.
Sebastian notes that some of our checks are based on incorrectly assuming tm_mon ranges from 1 to 12, rather than the correct 0..11. Further, tm_mday shouldn't be able to be 0 in a canonical date, but we seem to allow that.