Fixed by ensuring the dates are in local time instead of UTC

This commit is contained in:
Charles Haley 2011-05-08 18:04:23 +02:00
parent edfb376516
commit 583685933d

View File

@ -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