bzr: Fix dates for recentchanges.

master
Joey Hess 2008-11-11 13:44:39 -05:00
parent 72a2fa9441
commit 6611f3a2d9
3 changed files with 6 additions and 1 deletions

View File

@ -246,7 +246,7 @@ sub rcs_recentchanges ($) { #{{{
rev => $info->{"revno"},
user => $user,
committype => "bzr",
when => time - str2time($info->{"timestamp"}),
when => str2time($info->{"timestamp"}),
message => [@message],
pages => [@pages],
};

1
debian/changelog vendored
View File

@ -13,6 +13,7 @@ ikiwiki (2.69) UNRELEASED; urgency=low
was earlier added to edit links.
* tag: Normalize tagbase so leading/trailing slashes in it don't break
things.
* bzr: Fix dates for recentchanges.
-- Joey Hess <joeyh@debian.org> Thu, 06 Nov 2008 16:01:00 -0500

View File

@ -10,3 +10,7 @@ to
` when => str2time($info->{"timestamp"}),`
fixed this for me.
> Weird, I wonder why it was written to return an absolute time like that
> in the first place? Can't have ever been right. Fixed, thanks. --[[Joey]]
> [[done]]