Shouldn't you compare # ./main -l "2022-11-01 00:00:00" -path /usr/share/zoneinfo -tz America/Adak with # ./main -l "2022-11-01 00:00:27" -path /usr/share/zoneinfo/right -tz America/Adak?
Thanks a lot, I mis-used the "zic -L", which generated the zoneinfo of leapseconds. ________________________________ 发件人: Michael H Deckers <michael.h.deckers@googlemail.com> 发送时间: 2021年3月6日 8:23 收件人: Ian Abbott <abbotti@mev.co.uk>; 汪蒙蒙(木之) <wangmm@tuya.com>; Paul Eggert <eggert@cs.ucla.edu> 抄送: Time zone mailing list <tz@iana.org> 主题: Re: [tz] 回复: 回复: zoneinfo generating issues On 2021-03-05 20:29, Ian Abbott via tz wrote:
The problem seems to be related to the use of leapseconds.
# ./main -l "2022-11-01 00:00:00" -path /usr/share/zoneinfo -tz America/Adak UTC: 2022-11-01 09:00:00 +0000 UTC # ./main -l "2022-11-01 00:00:00" -path /usr/share/zoneinfo/right -tz America/Adak UTC: 2022-11-01 10:00:00 +0000 UTC
Shouldn't you compare # ./main -l "2022-11-01 00:00:00" -path /usr/share/zoneinfo -tz America/Adak with # ./main -l "2022-11-01 00:00:27" -path /usr/share/zoneinfo/right -tz America/Adak? Michael Deckers.