From 23f64a155b913378f205fff033728f37c6d61b63 Mon Sep 17 00:00:00 2001 From: noirauds Date: Sun, 25 May 2014 11:24:16 +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 4585cd356..50057ce81 100644 --- a/gramps/plugins/drawreport/timeline.py +++ b/gramps/plugins/drawreport/timeline.py @@ -297,7 +297,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):