BUG #0007744 : years are displayed as floating numbers
This commit is contained in:
parent
72b96c96f9
commit
30376b802e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user