Code

date handling: handle "AM"/"PM" on time
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 19:34:56 +0000 (12:34 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 19:34:56 +0000 (12:34 -0700)
commit68849b544258cafdf42f3ebe9772ee7a346f7147
tree908c0d82bd1f423abff08162cc5156f736a016cd
parent198b0fb635ed8a007bac0c16eab112c5e2c7995c
date handling: handle "AM"/"PM" on time

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.
date.c
test-date.c