summaryrefslogtreecommitdiff
path: root/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn')
-rw-r--r--doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn b/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn
new file mode 100644
index 000000000..fa6e45b47
--- /dev/null
+++ b/doc/bugs/bzr_RecentChanges_dates_start_from_1969.mdwn
@@ -0,0 +1,16 @@
+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]]