Twipped / Kalendae

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

daysInMonth() gives different value than vanilla moment.js #64

Closed alexmic closed 11 years ago

alexmic commented 12 years ago

Today is the 31st of October yet I get this:


// Moment.js packaged with Kalendae (1.5)
Kalendae.moment().daysInMonth() // => 30

// Moment.js 1.7.2
moment().daysInMonth() // => 31
bobbyrenwick commented 12 years ago

This is expected:

https://github.com/timrwood/moment/issues/378

@ChiperSoft Can you update Kalendae to use 1.7.2? As @timrwood says this issue is fixed in 1.7.0.

Twipped commented 11 years ago

Kalendae is now updated to Moment 2.0.