temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Fix Windows time zone disambiguation

Open sffc opened this issue 10 months ago • 0 comments

@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 an Err value: 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

sffc avatar Feb 19 '25 16:02 sffc