Date: Thu, 25 Apr 2024 09:44:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278574] usr.bin/pom: If the -t option is combined with a time zone with a different time zone than UTC, result doesn't match Message-ID: <bug-278574-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278574 Bug ID: 278574 Summary: usr.bin/pom: If the -t option is combined with a time zone with a different time zone than UTC, result doesn't match Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: tatsuki_makino@hotmail.com When comparing the following commands, the results are off by 9 hours. env TZ=Asia/Tokyo pom env TZ=Asia/Tokyo pom `env TZ=Asia/Tokyo date '+-t %H.%M.%S'` The 9-hour time difference is the Asia/Tokyo time difference, which is 9 hours throughout the year. The cause of this problem is that caph_cache_tzdata() is not executed before caph_enter(). -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278574-227>
