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 306642 [details] [diff] [review] patch 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.
checked into trunk and 1.8 branch for msterlin