diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-13 15:12:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-13 15:12:14 +0900 |
commit | 849087ccb1e0f7ec2a3c018f9aeb6b462c971893 (patch) | |
tree | 270c918671f186336b7a5c5af35ca67bf96f00bc | |
parent | f313514563853f1ee623135c2959df2b518ee755 (diff) | |
download | ruby-849087ccb1e0f7ec2a3c018f9aeb6b462c971893.tar.gz |
Apply zone offset to the last modified time
-rw-r--r-- | tool/lib/vcs.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |