Interactive publication
Back to the catalogueWeek systemsCase 06 of 08
Slot-origin convention
The canonical origin is slot 0 = Monday 00:00 UTC. A system that assumes a Sunday-start week is off by 24 slots; one that anchors on local midnight disagrees with the UTC origin by the zone offset.
Class
Case to account for
Affects
2 conversions
01
Detection
Slot indices disagree by a whole day (24) or by the zone offset.
02
Mitigation
01
Declare the origin (Monday 00:00 UTC) and convert other conventions on ingest.
03
Affected conversions
Timestamp + zonehour-of-week slot
OPENInstant(ISO week × slot) key
OPEN