Package: nodejs Version: 12.20.1~dfsg-3 Severity: normal Hi.
Since "Dec 27 2020" TZ Europe/Volgograd = Europe/Moscow, with +03h offset. But nodejs use old (now wrong) +04h offset. $ env TZ="Europe/Moscow" nodejs -e 'console.log((new Date().getTimezoneOffset())/60)' -3 $ nodejs -e 'console.log((new Date().getTimezoneOffset())/60)' -4 $ env TZ="Europe/Volgograd" nodejs -e 'console.log((new Date().getTimezoneOffset())/60)' -4 $ zdump -c 2020,2021 -V /usr/share/zoneinfo/Europe/Volgograd /usr/share/zoneinfo/Europe/Volgograd Sat Dec 26 21:59:59 2020 UT = Sun Dec 27 01:59:59 2020 +04 isdst=0 gmtoff=14400 /usr/share/zoneinfo/Europe/Volgograd Sat Dec 26 22:00:00 2020 UT = Sun Dec 27 01:00:00 2020 +03 isdst=0 gmtoff=10800 $ date +"%z (%Z)" +0300 (+03) $ strace nodejs -e 'console.log((new Date().getTimezoneOffset())/60)' 2>&1 | grep zone stat("/usr/share/zoneinfo-icu/44/le/zoneinfo64.res", 0x7ffea7585330) = -1 ENOENT (Нет такого файла или каталога) readlink("/etc/localtime", "../usr/share/zoneinfo/Europe/Vol"..., 4095) = 38 stat("/usr/share/zoneinfo-icu/44/le/timezoneTypes.res", 0x7ffea7583570) = -1 ENOENT (Нет такого файла или каталога) -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.9.0-5-amd64 (SMP w/16 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nodejs depends on: ii libc6 2.31-9 ii libnode72 12.20.1~dfsg-3 Versions of packages nodejs recommends: ii ca-certificates 20210119 ii nodejs-doc 12.20.1~dfsg-3 Versions of packages nodejs suggests: ii npm 7.5.0+ds-1