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/aggregate.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/aggregate.pm')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 8ef5ca541..2e4c86f24 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -461,9 +461,7 @@ sub aggregate (@) { #{{{ $feed->{lastupdate}=time; $feed->{newposts}=0; $feed->{message}=sprintf(gettext("last checked %s"), - '<span class="date" title="'. - localtime($feed->{lastupdate}).'">'. - displaytime($feed->{lastupdate}).'</span>'); + displaytime($feed->{lastupdate})); $feed->{error}=0; debug(sprintf(gettext("checking feed %s ..."), $feed->{name})); |