author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sun, 1 May 2005 19:34:56 +0000 (12:34 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Sun, 1 May 2005 19:34:56 +0000 (12:34 -0700) | ||
commit | 68849b544258cafdf42f3ebe9772ee7a346f7147 | |
tree | 908c0d82bd1f423abff08162cc5156f736a016cd | tree | snapshot |
parent | 198b0fb635ed8a007bac0c16eab112c5e2c7995c | commit | diff |
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.
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 | diff | blob | history | |
test-date.c | diff | blob | history |