Fix bad increment, thanks to an email report from a developer at sina . com
This commit is contained in:
parent
b2bd254cf1
commit
322f491ab8
2 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ WARN_CHANGE = object()
|
|||
def _end_of_month(dt):
|
||||
ndt = dt + DAY
|
||||
while dt.month == ndt.month:
|
||||
dt += DAY
|
||||
ndt += DAY
|
||||
return ndt.replace(day=1) - DAY
|
||||
|
||||
def _month_incr(dt, m):
|
||||
|
|
2
setup.py
2
setup.py
|
@ -10,7 +10,7 @@ except:
|
|||
|
||||
setup(
|
||||
name='crontab',
|
||||
version='0.22.5',
|
||||
version='0.22.6',
|
||||
description='Parse and use crontab schedules in Python',
|
||||
author='Josiah Carlson',
|
||||
author_email='josiah.carlson@gmail.com',
|
||||
|
|
Loading…
Reference in a new issue