crusat/tempus-js

Generate dates from last day of month with period month

Opened this issue · 0 comments

tempus.generate({
dateFrom: '31.01.2014',
dateTo: '31.03.2014',
period: 'month',
format: '%d.%m.%Y'
});
will return 31.01.2014, 03.03.2014
expected: 31.01.2014, 28.02.2014, 31.03.2014