Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 41b8c9a

Browse files
committed
display last updated info in UTC.
1 parent 8d948eb commit 41b8c9a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

process.pl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
use warnings;
44
use autodie;
55

6+
use POSIX;
7+
$ENV{TZ}='Z';
68

7-
use Data::Dumper;
89
my $comment = qr{^\s*(?:\#.*)?$};
910

1011
open my $f, '<:encoding(UTF-8)', 'features.txt';
@@ -74,6 +75,8 @@ sub write_html {
7475
shift @compilers;
7576
$t->param(compilers => \@compilers);
7677
$t->param(columns => 1 + @compilers);
78+
79+
$t->param(when => POSIX::ctime(time) . " " . (POSIX::tzname())[0] );
7780

7881
my %status_map = (
7982
'+' => 'implemented',

template.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@
3434
.footnote_link {
3535
font-size: 80%
3636
}
37-
3837
.subsection {
3938
padding-top: 1em;
4039
text-align: left;
4140
}
41+
.minor {
42+
font-size: smaller;
43+
font-style: italic;
44+
}
4245
</style>
4346

4447
</head>
@@ -104,6 +107,9 @@ <h3>Footnotes</h3>
104107
yet, please ask on <a href="http://perl6.org/community/irc">the #perl6
105108
IRC channel</a>.
106109
</p>
110+
<p class="minor">
111+
This page was last updated <%var when%>.
112+
</p>
107113

108114
</body>
109115
</html>

0 commit comments

Comments
 (0)