summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs/tla.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-28 22:57:22 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-28 22:57:22 -0500
commit9f25e3436b2b918845acbd8cf2ff2d358e0ea105 (patch)
treea804ce3980de095a7d01215769a24acc3cdd47d8 /IkiWiki/Rcs/tla.pm
parent0f76f8774d67edcd5a31cfe918ef16819a54ee59 (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/tla.pm')
-rw-r--r--IkiWiki/Rcs/tla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm
index ffb6ee521..15824ffaf 100644
--- a/IkiWiki/Rcs/tla.pm
+++ b/IkiWiki/Rcs/tla.pm
@@ -120,7 +120,7 @@ sub rcs_recentchanges ($) {
split(/ /, "$newfiles $modfiles .arch-ids/fake.id");
my $sdate = $head->get("Standard-date");
- my $when = time - str2time($sdate, 'UTC');
+ my $when = str2time($sdate, 'UTC');
my $committype = "web";
if (defined $summ && $summ =~ /$config{web_commit_regexp}/) {