Twipped / Kalendae

A javascript date picker that just works.
MIT License
1.99k stars 285 forks source link

changed order of moment.add() parameters #142

Closed datenpate closed 9 years ago

datenpate commented 9 years ago

In the new momentjs version moment.add('days' 1) is deprecated. Changed the order to moment.add(1, 'days') to make this compatible again.

Twipped commented 9 years ago

Thank you. Merged in 18b99e65

Unfortunately I couldn't merge this directly due to artifacts on the commit, and it being against the wrong branch. Will try to get a new release out today to include this.