diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-17 20:47:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-17 20:47:32 -0400 |
commit | 7390a7a0721d9985c88efec1fd0e3a19d0368c82 (patch) | |
tree | 5573d9a86849bb3d180ad26132e8f1abf6fdd53c /IkiWiki/Render.pm | |
parent | 9a62836d288fbced42b04a172baf52063ef71c61 (diff) | |
download | ikiwiki-7390a7a0721d9985c88efec1fd0e3a19d0368c82.tar ikiwiki-7390a7a0721d9985c88efec1fd0e3a19d0368c82.tar.gz |
relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself.
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index bc997ffb0..8385c1aff 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -109,7 +109,9 @@ sub genpage ($$) { #{{{ backlinks => $backlinks, more_backlinks => $more_backlinks, mtime => displaytime($pagemtime{$page}), + mtime_raw => scalar localtime($pagemtime{$page}), ctime => displaytime($pagectime{$page}), + ctime_raw => scalar localtime($pagectime{$page}), baseurl => baseurl($page), ); |