From nobody Thu Apr 25 09:44:14 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VQ9t84RLvz5HD2W for ; Thu, 25 Apr 2024 09:44:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VQ9t83N6nz4tNx for ; Thu, 25 Apr 2024 09:44:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714038256; a=rsa-sha256; cv=none; b=sEf3e0lioBvTLL5h9h1YK5Tj1VUQjQQJQeLLab2/khq71v+pM3/4t+/HCFLVzo0cBs6gs6 5giDcHW1lOQWwKiv6GETaP+QJJBzdWC7Psy6sl0SFcYJowQrQE7UPQ6w0SjSdenhv9L0aT rAIw520gaB3ougu8MGdnh06vGkLU3EyCTRW/znKBJqDu+sjW6c2mxTIyIwVkCRLOgOcvec bda1R+9jYNr6Msj/Qj1HdEsSqgfu4lnUPjxJbKxc6Zaaee9YebBUqq8XJhvPGrdTa0hMbD J+T9jJDwjq4rYGH5Jr8Ol5CvQVr5JfGcE1ubzv+csx5NxegZHYILrU/1L1vymw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714038256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pzhgYiD54uxv5MPGS2q+iafxsvLFjHg4oCsnoPjeEvY=; b=InXXZpfEmB7ZwhrFByzQPnBCkQwOiZbcOSHhToVFbUh7B/5QbEvBrZINczf769mVeXDJgf /6RzAK4x8ldEZ8T8lHLs4YW0z3Cfo5EHgiwrrEamEjmEurXgg4Q3VlSGJ6XrRBZhvCGyG7 WgDlOtmvlSRDhliYcifYFrXAgbEAJQP09tV5QyUxep7yYzaJogNVh6htw/DsrVp5RFo/Wq 0Z1d/mIFMhbJhXXoVU5LpTzZM/tuQY9KXjN0BON0WPbTtg/GLHOag7Vs/TTUllHhoitGsc 5l5nuprPCQnvOZarItT2hAzyXJbBq/6bPmMTQX/JurBJ6OnrOXeF9o5c74y3ew== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VQ9t82zVKzvHJ for ; Thu, 25 Apr 2024 09:44:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43P9iGEl017124 for ; Thu, 25 Apr 2024 09:44:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43P9iGpE017113 for bugs@FreeBSD.org; Thu, 25 Apr 2024 09:44:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Thu, 25 Apr 2024 09:44:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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.=