[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
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Apr 2024 09:44:14 UTC
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.