bzr: Fix dates for recentchanges.
parent
72a2fa9441
commit
6611f3a2d9
|
@ -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],
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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]]
|
||||
|
|
Loading…
Reference in New Issue