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 + '">',
|
'<a href="' + URL_HOMEPAGE + '">',
|
||||||
'html_end' : '</a>',
|
'html_end' : '</a>',
|
||||||
'version' : VERSION}
|
'version' : VERSION}
|
||||||
if date is not None:
|
if date is not None and date > 0:
|
||||||
msg += "<br />"
|
msg += "<br />"
|
||||||
last_modif = datetime.datetime.fromtimestamp(date).strftime(
|
last_modif = datetime.datetime.fromtimestamp(date).strftime(
|
||||||
'%Y-%m-%d %H:%M:%S')
|
'%Y-%m-%d %H:%M:%S')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user