Apply zone offset to the last modified time

This commit is contained in:
Nobuyoshi Nakada 2023-02-13 15:12:14 +09:00
parent f313514563
commit 849087ccb1
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -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