Subject: | Leading 0 on day-of-month with ordinal indicator |
Hello, the following date appears to not parse:
February 01st, 2011 7:02 pm EST
Using the code:
UnixDate( ParseDateString( "February 01st, 2011 7:02 pm EST" ), "%s" );
Dropping the leading zero from the day of the month (01 -> 1) seems to
fix this, as does dropping the Ordinal Indicator "st" (01st -> 01), but
thats not an option to me (source documents are out of my control).
Of course, this is only a problem between the 1st and the 9th of the
month!! :)
I'm using the version 5 of the module, and have tested in Debian
almost-stable module version 6.11, and Centos very-old 5.44, and both
fail in the same way.
Many thanks,
James