]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn
ikiwiki (3.20140916) unstable; urgency=low
[ikiwiki.git] / doc / bugs / bzr_RecentChanges_dates_start_from_1969.mdwn
1 Using bzr, the dates for changes on the RecentChanges page all start
2 slightly before the Unix epoch.
3
4 Changing line 249 of bzr.pm from
5
6 `                        when       => time - str2time($info->{"timestamp"}),`
7
8 to
9
10 `                        when       => str2time($info->{"timestamp"}),`
11
12 fixed this for me.
13
14 > Weird, I wonder why it was written to return an absolute time like that
15 > in the first place? Can't have ever been right. Fixed, thanks. --[[Joey]]
16 > [[done]]