temporal
temporal copied to clipboard
Fix Windows time zone disambiguation
@nekevss says:
Are you looking into the test being broken on windows? If so, it may be worthwhile to know that windows right now is back by a prepackaged "slim" version of the TZDB that is different than the local system tzdb on mac and linux which are package as "FAT".
As a result, the test for the new function Temporal.Duration.compare, when given a ZonedDateTime, is failing on Windows with this error:
called
Result::unwrap()on anErrvalue: TemporalError { kind: Range, msg: "Offsets could not be determined without disambiguation" }
I believe this issue can only be resolved by improving Windows time zone data.
CC @lockels