Having a always current relative date on recentchanges is very, very nice.
$template->param(
%$change,
commitdate => displaytime($change->{when}, "%X %x"),
+ commitdate_raw => scalar localtime($change->{when}),
wikiname => $config{wikiname},
);
IkiWiki::run_hooks(pagetemplate => sub {
<span class="desc"><br />Commit type:</span>
<span class="committype"><TMPL_VAR COMMITTYPE></span>
<span class="desc"><br />Date:</span>
-<span class="changedate"><TMPL_VAR COMMITDATE></span>
+<span class="changedate"><span class="date" title="<TMPL_VAR COMMITDATE_RAW>"><TMPL_VAR COMMITDATE></span></span>
</div>
<div class=changelog>
<TMPL_LOOP NAME="MESSAGE">