7198,7212: fix Date.set(value=None)
This commit is contained in:
parent
4f29c6e464
commit
3c93c1d164
@ -1558,7 +1558,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:
|
||||
|
Loading…
Reference in New Issue
Block a user