28 Jan
2005
28 Jan
'05
8:41 a.m.
Jeff Garland schrieb:
Hmm, I tested it on gcc 3.2 before I wrote that. Are you sure you remembered to remove the first date construction from the program before you tested it? Yes! I tried several more dates: 2005-02-31 - no exception 2005-11-31 - no exception 2005-02-32 - exeption is thrown "Day of month value is out of range 1..31" Looks like the day of month is (well - was) only checked for being between 1-31. Stefan already added the fix and a test case.
Kind regards, Wolfgang