Date arithmetic typo
svn: r9668
This commit is contained in:
parent
a066962d6a
commit
3295364aa2
@ -624,7 +624,7 @@ class Date:
|
|||||||
dv[Date._POS_MON] = dv[Date._POS_MON] % 12
|
dv[Date._POS_MON] = dv[Date._POS_MON] % 12
|
||||||
self.dateval = tuple(dv)
|
self.dateval = tuple(dv)
|
||||||
self._calc_sort_value()
|
self._calc_sort_value()
|
||||||
if day != 0 or dv[Date.POS_DAY] > 28:
|
if day != 0 or dv[Date._POS_DAY] > 28:
|
||||||
self.set_yr_mon_day(*self.offset(day))
|
self.set_yr_mon_day(*self.offset(day))
|
||||||
|
|
||||||
def copy_offset_ymd(self, year=0, month=0, day=0):
|
def copy_offset_ymd(self, year=0, month=0, day=0):
|
||||||
|
Loading…
Reference in New Issue
Block a user