diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-01-28 22:57:22 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-01-28 22:57:22 -0500 |
commit | 9f25e3436b2b918845acbd8cf2ff2d358e0ea105 (patch) | |
tree | a804ce3980de095a7d01215769a24acc3cdd47d8 /IkiWiki/Rcs/svn.pm | |
parent | 0f76f8774d67edcd5a31cfe918ef16819a54ee59 (diff) |
change rcs_recentchanges when to absolute, not relative, time
No point in using a relative time value in rcs_recentchanges. Different
consumers of the info want different things.
Diffstat (limited to 'IkiWiki/Rcs/svn.pm')
-rw-r--r-- | IkiWiki/Rcs/svn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index 002527bdd..075f8da5a 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -171,7 +171,7 @@ sub rcs_recentchanges ($) { #{{{ my $rev = $logentry->{revision}; my $user = $logentry->{author}; - my $when=time - str2time($logentry->{date}, 'UTC'); + my $when=str2time($logentry->{date}, 'UTC'); foreach my $msgline (split(/\n/, $logentry->{msg})) { push @message, { line => $msgline }; |