react-spectrum
91700933 - fix(#7399): DatePicker.test fails with daylight savings change (#7401)

Commit
302 days ago
fix(#7399): DatePicker.test fails with daylight savings change (#7401) If the defaultValue is on daylight savings time and the user clears the value while in a time zone on standard time, the DatePicker's time zone will change to standard time. I think this is the correct behavior, however, the test is written to always expect "PDT" Pacific Daylight Savings Time, which means it will fail when we're on standard time.
Author
Michael Jordan
Parents
Loading