From 340aabe210f2ad39e19c32be3ef828983059b022 Mon Sep 17 00:00:00 2001 From: noirauds Date: Sun, 25 May 2014 11:17:35 +0200 Subject: [PATCH] BUG #0007744 : years are displayed as floating numbers --- gramps/plugins/drawreport/timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/drawreport/timeline.py b/gramps/plugins/drawreport/timeline.py index 2bde2d035..610df8477 100644 --- a/gramps/plugins/drawreport/timeline.py +++ b/gramps/plugins/drawreport/timeline.py @@ -304,7 +304,7 @@ class TimeLine(Report): delta = (stop_pos - start_pos)/ 5 for val in range(0,6): xpos = start_pos+(val*delta) - year_str = str(year_low + (incr*val)) + year_str = str(int(year_low + (incr*val))) self.doc.center_text('TLG-label', year_str, xpos, label_y) def draw_no_date_heading(self):