From 261a3d8965ecc5e3897224c144549d781f317b19 Mon Sep 17 00:00:00 2001 From: Alan Crosswell Date: Fri, 21 Aug 2020 10:38:06 -0400 Subject: [PATCH] Fix GEDCOM import/export DATE/TIME creep by UTC offset. (#1089) --- gramps/plugins/export/exportgedcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/export/exportgedcom.py b/gramps/plugins/export/exportgedcom.py index a34c99b24..2911a7446 100644 --- a/gramps/plugins/export/exportgedcom.py +++ b/gramps/plugins/export/exportgedcom.py @@ -1123,7 +1123,7 @@ class GedcomWriter(UpdateCallback): +1 <> # not used """ self._writeln(level, 'CHAN') - time_val = time.gmtime(timeval) + time_val = time.localtime(timeval) self._writeln(level + 1, 'DATE', '%d %s %d' % ( time_val[2], libgedcom.MONTH[time_val[1]], time_val[0])) self._writeln(level + 2, 'TIME', '%02d:%02d:%02d' % (