Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278574

            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=3DAsia/Tokyo pom
env TZ=3DAsia/Tokyo pom `env TZ=3DAsia/Tokyo date '+-t %H.%M.%S'`

The 9-hour time difference is the Asia/Tokyo time difference, which is 9 ho=
urs
throughout the year.

The cause of this problem is that caph_cache_tzdata() is not executed before
caph_enter().

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278574-227>