From d96b01318a3474ea61e7c4dfb4eda0fa37912e09 Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Sat, 23 Nov 2013 20:22:41 +0200 Subject: [PATCH] 7198,7212: fix Date.set(value=None) back-port [3c93c1d] from gramps40 --- src/gen/lib/date.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/lib/date.py b/src/gen/lib/date.py index c9ffe6b35..8a2b46ace 100644 --- a/src/gen/lib/date.py +++ b/src/gen/lib/date.py @@ -1562,7 +1562,7 @@ class Date(object): if calendar is None: calendar = self.calendar if value is None: - value = self.value + value = self.dateval if modifier in (Date.MOD_NONE, Date.MOD_BEFORE, Date.MOD_AFTER, Date.MOD_ABOUT) and len(value) < 4: