Thank you, I have made a docker image which can be pulled from: "docker.io/damon0708/zic:v0.1". The DockerFile is simple:
The image has been installed a tzdata with zic and zoneinfo in /usr/share/zoneinfo, which version is 2021a.You can pull it to local and run a container from
it by "docker run -ti damon0708/zic:v0.1 /bin/sh". After running a container,
# zic --version
zic (tzcode) 2021a
# mkdir tzdata2021a && cd tzdata2021a
# mkdir ../zoneinfo
# zic -d ../zoneinfo/ -L leapseconds africa antarctica asia australasia europe northamerica southamerica etcetera backward factory
# cp -f iso3166.tab zone1970.tab zone.tab ../zoneinfo/
# diff ../zoneinfo/America/Adak /usr/share/zoneinfo/America/Adak
Files America/Adak and /usr/share/zoneinfo/America/Adak differ
I ran the same check, still got the result:
| zone |
local time |
by 2021a utc time |
by 2020d utc time |
|
| America/Adak |
2022-11-01 00:00:00 |
2022-11-01 09:00:00 |
2022-11-01 10:00:00 |
|
| America/Anchorage |
2022-11-01 00:00:00 |
2022-11-01 08:00:00 |
2022-11-01 09:00:00 |
|
| America/Asuncion |
2022-10-01 00:00:00 |
2022-10-01 04:00:00 |
2022-10-01 03:00:00 |
|
| America/Atka |
2022-11-01 00:00:00 |
2022-11-01 09:00:00 |
2022-11-01 10:00:00 |
By the way, I also used the zic(version: @(#)zic.c 8.22) in mac os to generate zoneinfo data, but the check showed no diff in America/Adak America/Anchorage America/Asuncion America/Atka.