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.

prioritynormal
typebug
done in0.60.1
load0.100
load left0.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]