10169: timestamp set to zero makes gramps crash on windows.
This commit is contained in:
parent
e215393abd
commit
b03816a2c0
@ -1278,7 +1278,7 @@ class BasePage: # pylint: disable=C1001
|
||||
'<a href="' + URL_HOMEPAGE + '">',
|
||||
'html_end' : '</a>',
|
||||
'version' : VERSION}
|
||||
if date is not None:
|
||||
if date is not None and date > 0:
|
||||
msg += "<br />"
|
||||
last_modif = datetime.datetime.fromtimestamp(date).strftime(
|
||||
'%Y-%m-%d %H:%M:%S')
|
||||
|
Loading…
Reference in New Issue
Block a user