diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-20 19:22:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-20 19:22:22 -0400 |
commit | ee1ccfa863b9d56cf7ec987f7fee89c98c484b0b (patch) | |
tree | 5d4f1a56c91db78fd1b841a3fa3e4004439c2d24 /IkiWiki/Plugin | |
parent | 99bf734963590005d457165665b0d8797c6a6221 (diff) |
use relativedate as the css class for dates that should display relative
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/relativedate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/relativedate.pm b/IkiWiki/Plugin/relativedate.pm index d9d8f7776..f4dba61a4 100644 --- a/IkiWiki/Plugin/relativedate.pm +++ b/IkiWiki/Plugin/relativedate.pm @@ -53,7 +53,7 @@ sub display ($;$) { #{{{ my $gmtime=decode_utf8(POSIX::strftime("%a, %d %b %Y %H:%M:%S %z", localtime($time))); - return '<span class="date" title="'.$gmtime.'">'. + return '<span class="relativedate" title="'.$gmtime.'">'. IkiWiki::formattime($time, $format).'</span>'; } #}}} |