mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 05:32:57 +02:00
Fix #779497 (Publishing data can not be set on 1 jan 2002)
This commit is contained in:
commit
71d5864373
1 changed files with 1 additions and 1 deletions
|
|
@ -1126,7 +1126,7 @@ def reset_date(self, *args):
|
|||
@dynamic_property
|
||||
def current_val(self):
|
||||
def fget(self):
|
||||
return qt_to_dt(self.date())
|
||||
return qt_to_dt(self.date(), as_utc=False)
|
||||
def fset(self, val):
|
||||
if val is None:
|
||||
val = UNDEFINED_DATE
|
||||
|
|
|
|||
Loading…
Reference in a new issue