Skip to content

Dwell Ledger

  • Legs, dwell, cut-offs and punctuality, shared by road, rail, sea and air.

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.

1. Place a dwell on the local-day grid

A container gates in at 23:00 and out at 01:00 in Johannesburg. Two hours elapsed, and it was there on two local dates.

Elapsed
no result
Local days
no result

2. What dwellTime returns

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.

Accessibility
© 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.