diff --git a/src/DayColumn.js b/src/DayColumn.js index 8474a0eda..71331ca12 100644 --- a/src/DayColumn.js +++ b/src/DayColumn.js @@ -349,7 +349,7 @@ class DayColumn extends React.Component { while (dates.lte(current, endDate)) { slots.push(current) - current = dates.add(current, this.props.step, 'minutes') + current = new Date(+current + this.props.step * 60 * 1000) // using Date ensures not to create an endless loop the day DST begins } notify(this.props.onSelectSlot, {