Dwell Ledger
The track is one zone’s local days, each column as wide as that day really
is: London’s 31 March 2024 had 23 hours, so its column is narrower and
carries a “23 h” chip. The bar is the elapsed time. Two plates above the track
give the elapsed time and the count of local days. Lit columns are the dates the
dwell touched, counted half-open: an exit exactly at local midnight does not touch the new day. The
output is the real
dwellTime call for what is on
screen.
Worth trying: the same two instants in London and
Amsterdam.
The bar is identical on both rows, and the count is two days in London and one
in Amsterdam, because Amsterdam’s midnight falls before the entry. Then drop
the zone:
two bare instants name no place, an offset is not a zone, and dwellTime
returns null rather than guess.
Reference: dwellTime counts the
days across the zone’s real transitions;
floorToZone finds the start of
any local day. The rules are in Transport: Legs and
Dwell.
© 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.