If a user tries to get days-from-date from "2008-02-29" we return NaN instead of 13938. XSmiles and formsPlayer both return the correct value.
Created attachment 295825 [details]
Created attachment 306642 [details] [diff] [review]
Calculation of leap years in nsSchemaValidatorUtils::GetMaximumMonthInDayFor is incorrect. Additionally, we don't handle the case where the time string ends with fractional seconds and is not followed by a Z or +/- timezone offset.
*** Bug 420253 has been marked as a duplicate of this bug. ***
checked into trunk and 1.8 branch for msterlin