From 849087ccb1e0f7ec2a3c018f9aeb6b462c971893 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 13 Feb 2023 15:12:14 +0900 Subject: Apply zone offset to the last modified time --- tool/lib/vcs.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 857b7928a4..650f275250 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -195,6 +195,7 @@ class VCS rescue ArgumentError modified = Time.utc(*$~[1..6]) + $7.to_i * 3600 + $8.to_i * 60 end + modified = modified.getlocal(@zone) end return last, changed, modified, *rest end -- cgit v1.2.3