summaryrefslogtreecommitdiff
path: root/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn
blob: fa6e45b47d808b4e3b14ee832788753a1d1d1520 (plain)

Using bzr, the dates for changes on the RecentChanges page all start slightly before the Unix epoch.

Changing line 249 of bzr.pm from

when => time - str2time($info->{"timestamp"}),

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]]