diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-19 19:13:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-19 19:21:44 -0400 |
commit | 2b569f99d9e7f1d4d30c7f3adde9729ff4d868cf (patch) | |
tree | 0b060526113707326edcf1c8fd47eda7e817102e /IkiWiki/Plugin/prettydate.pm | |
parent | ac8e8f5ad7387a815cb0eb1b0a662694c86f2439 (diff) | |
download | ikiwiki-2b569f99d9e7f1d4d30c7f3adde9729ff4d868cf.tar ikiwiki-2b569f99d9e7f1d4d30c7f3adde9729ff4d868cf.tar.gz |
fix relativedate timezone inclusion
The machine parseable date needs to include a timezone.
Also, simplified the interface for date display.
Diffstat (limited to 'IkiWiki/Plugin/prettydate.pm')
-rw-r--r-- | IkiWiki/Plugin/prettydate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/prettydate.pm b/IkiWiki/Plugin/prettydate.pm index e997be3ce..0f02142b0 100644 --- a/IkiWiki/Plugin/prettydate.pm +++ b/IkiWiki/Plugin/prettydate.pm @@ -84,7 +84,7 @@ sub checkconfig () { #{{{ } } #}}} -sub IkiWiki::displaytime ($;$) { #{{{ +sub IkiWiki::formattime ($;$) { #{{{ my $time=shift; my $format=shift; if (! defined $format) { |