mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fixed by ensuring the dates are in local time instead of UTC
This commit is contained in:
parent
edfb376516
commit
583685933d
@ -1126,7 +1126,7 @@ class DateEdit(QDateEdit): # {{{
|
||||
@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…
x
Reference in New Issue
Block a user