DST Inspector
Pick a zone and a year to see its transitions, then drag the ticker into a gap (the
skipped hour) or an overlap (the repeated hour) and watch
convertPlainDateTimeToZoned
resolve the same local wall-clock time four different ways, one per
disambiguation option.
The disambiguation option belongs to functions that set a local time, because
a local time can be skipped or repeated. Functions that find a boundary, like
startOfZoned, do not take it: they always return the earliest instant of the
unit.
See it in action: 2:30am on 7 April 2024 in
Sydney
happens twice — scrub across the transition and switch disambiguation between
earlier, later and reject to see which instant each one picks.
Reference: getDstTransitions finds
the transitions; convertPlainDateTimeToZoned
resolves the probe.
© 2026 NorthGuild · Licences
Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.