Interactive publication
Back to the catalogueTime-zone databaseCase 02 of 06
An offset is not a zone
Storing 'UTC+2' (a fixed offset) instead of 'Europe/Kyiv' (a zone) loses the DST rules, so any FUTURE wall time in that zone resolves wrong. An offset is only valid for one instant.
Class
Case to account for
Affects
1 conversion
01
Detection
The stored zone value is a fixed offset, not a named zone.
02
Mitigation
01
Persist the IANA zone id; derive the offset per instant, never the reverse.
03
Affected conversions
Timestamp + zonehour-of-week slot
OPEN