Pre-1970 timestamps are knowingly wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tzdata (Ubuntu) |
Fix Released
|
Medium
|
Benjamin Drung | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
tzdata 2021b says in NEWS: "Merge more location-based Zones whose timestamps agree since 1970, as pre-1970 timestamps are out of scope. This is part of a process that has been ongoing since 2013. This does not affect post-1970 timestamps, and timezone historians who build with 'make PACKRATDATA=
The Debian/Ubuntu package builds tzdata with the default settings (PACKRATDATA unset) which merges zones whose timestamps agree since 1970. This leads to timestamps before 1970 being knowingly wrong. Example: Europe/Oslo is a link to Europe/Berlin since they are identical since 1970, but they differed before 1965. Berlin observed no summertime between 1950 and 1980, but Oslo did in 1959 to 1965. So summer 1960 in Oslo should be UTC+2 compared to UTC+1 in Berlin:
```
$ TZ=Europe/Oslo date -d "1960-07-01 10:00 Z"
Fri Jul 1 12:00:00 CEST 1960
$ TZ=Europe/Berlin date -d "1960-07-01 10:00 Z"
Fri Jul 1 11:00:00 CET 1960
```
There was a big debate upstream (see https:/
The install size will increase by around 20% and the amount of distinct (i.e. not symlinked) timezones will increase by 33%:
```
$ grep ^Zone africa antarctica asia australasia etcetera europe factory northamerica southamerica | wc -l
352
$ grep ^Zone backzone | wc -l
119
```
[ Test plan ]
The test case `test_pre_
[ Where problems could occur ]
Systems with incorrect timezone set may observe unexpected time shift.
Changed in tzdata (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
Changed in tzdata (Ubuntu): | |
assignee: | nobody → Benjamin Drung (bdrung) |
status: | Triaged → In Progress |
description: | updated |
tags: | removed: verification-done verification-done-focal verification-done-jammy verification-done-kinetic |
Changed in tzdata (Ubuntu Focal): | |
status: | Fix Committed → New |
Changed in tzdata (Ubuntu Jammy): | |
status: | Fix Committed → New |
Changed in tzdata (Ubuntu Kinetic): | |
status: | Fix Committed → New |
Proposed fix in https:/ /salsa. debian. org/glibc- team/tzdata/ -/commits/ pre1970