From c01ee8ed7dff85094db6228ed00666fe7d01f3f7 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sun, 24 Sep 2017 21:17:20 +0200 Subject: [PATCH] Reports - Narrated Web Site Failure Fixes #10206 --- gramps/plugins/webreport/narrativeweb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index 17433aff6..86e210938 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -1612,7 +1612,7 @@ class BasePage(object): '' , 'html_end' : '' , 'version' : VERSION } - if date is not None: + if date is not None and date > 0: msg += "
" last_modif = datetime.datetime.fromtimestamp(date).strftime('%Y-%m-%d %H:%M:%S') msg += _('Last change was the %(date)s') % { 'date' : last_modif }