aboutsummaryrefslogtreecommitdiffstats
path: root/tool/file2lastrev.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/file2lastrev.rb')
-rwxr-xr-xtool/file2lastrev.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index c5d4c95f9b..090f2e981d 100755
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -75,10 +75,10 @@ vcs = nil
"#define RUBY_LAST_COMMIT_TITLE #{title.dump}"
end,
if modified
- modified.strftime(<<TIME)
+ modified.utc.strftime(<<TIME)
#if defined(RUBY_PATCHLEVEL) && (RUBY_PATCHLEVEL == -1)
#undef RUBY_RELEASE_DATE
-#define RUBY_RELEASE_DATE "%FT%T%:z"
+#define RUBY_RELEASE_DATE "%FT%TZ"
#endif
TIME
end,