mindblaze / foundation-daterangepicker

Date range picker compatiable with Foundation
Apache License 2.0
13 stars 9 forks source link

Moment.js error #3

Open alahtarin opened 9 years ago

alahtarin commented 9 years ago

I'm getting Cannot read property '_weekdaysMin' of undefined error with the latest version of MomentJS plugin. The error is produced by the following code:

daysOfWeek: moment()._lang._weekdaysMin.slice(),
monthNames: moment()._lang._monthsShort.slice(),

In the original repository this is changed to

daysOfWeek: moment.weekdaysMin(),
monthNames: moment.monthsShort(), 

Also, the fork is not in sync with the original plugin, any chance to update it?

domschmidt commented 8 years ago

I'd also vote for a new version ;-)