[date] Fixed: wrong incrementation of month in date_range function (closes #186698). [applied]