Permalink
Browse files

report last update time in UTC

  • Loading branch information...
1 parent 645ea3e commit fa74992a88604651c2014c42f91dfd28e1c59e91 @moritz moritz committed Nov 5, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 generate-web.pl
  2. +1 −1 web/index.tmpl
View
@@ -20,7 +20,7 @@
close $fh;
$t->param(body => scalar(markdown($contents)));
-$t->param(last_updated => scalar(localtime +(stat 'answers.md')[9]));
+$t->param(last_updated => scalar(gmtime +(stat 'answers.md')[9]));
my $fn = "$dest_dir/index.html";
open my $out, '>:encoding(UTF-8)', $fn
View
@@ -11,7 +11,7 @@
<body>
<%var body escape=none%>
- <div id="footer">Last updated on <%var last_updated%></div>
+ <p id="footer">Last updated on <%var last_updated%> UTC.</p>
</body>
</html>

0 comments on commit fa74992

Please sign in to comment.