logilab-common #186698 date.date_range not consistent between daily and monthly list of dates [validation pending]
start_date, stop_date = datetime(2006, 3, 12), datetime(2006, 6, 27) date.date_range(start_date, stop_date, incmonth=True) gives a generator where the first element is April the 12th (and not 12th March). Moreover, the last date is 2006-07-01 instead of 2006-06-01. | |
priority | normal |
---|---|
type | bug |
done in | 0.60.1 |
load | 0.100 |
load left | 0.000 |
closed by | #9450099defff [date] Fixed: wrong incrementation of month in date_range function (closes #186698). |
patch | [date] Fixed: wrong incrementation of month in date_range function (closes #186698). [applied] |