summaryrefslogtreecommitdiff
path: root/test-date.c
Commit message (Collapse)AuthorAgeFilesLines
* date handling: handle "AM"/"PM" on timeLinus Torvalds2005-05-011-1/+1
| | | | | | | | And be a bitmore careful about matching: if we don't recognize a word or a number, we skip the whole thing, rather than trying the next character in that word/number. Finally: since ctime() adds the final '\n', don't add another one in test-date.
* Make the date parsing accept pretty much any random crap.Linus Torvalds2005-04-301-0/+20
This date parser turns line-noise into a date. Cool.