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/monotone.pm | |
parent | 0f76f8774d67edcd5a31cfe918ef16819a54ee59 (diff) | |
download | ikiwiki-9f25e3436b2b918845acbd8cf2ff2d358e0ea105.tar ikiwiki-9f25e3436b2b918845acbd8cf2ff2d358e0ea105.tar.gz |
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/monotone.pm')
-rw-r--r-- | IkiWiki/Rcs/monotone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/monotone.pm b/IkiWiki/Rcs/monotone.pm index 5717e0043..b48ac92db 100644 --- a/IkiWiki/Rcs/monotone.pm +++ b/IkiWiki/Rcs/monotone.pm @@ -416,7 +416,7 @@ sub rcs_recentchanges ($) { #{{{ $committype = "monotone"; } } elsif ($cert->{name} eq "date") { - $when = time - str2time($cert->{value}, 'UTC'); + $when = str2time($cert->{value}, 'UTC'); } elsif ($cert->{name} eq "changelog") { my $messageText = $cert->{value}; # split the changelog into multiple |