On 05/03/2021 23:02, Ian Abbott wrote:
On 05/03/2021 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
I ran that test in the docker image, but I cannot reproduce it on my Debian testing systems. Both commands produce a UTC time of 10:00:00 on my Debian systems.
Correction: Both commands produced a UTC time of 09:00:00 (not 10:00:00) on my Debian system. Sorry for mis-reporting! -- -=( Ian Abbott <abbotti@mev.co.uk> || Web: www.mev.co.uk )=- -=( MEV Ltd. is a company registered in England & Wales. )=- -=( Registered number: 02862268. Registered address: )=- -=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-