Skip to content

Improvement request : integration with Moment.js #9

@StephJan

Description

@StephJan

This (otherwise awesome) plugin could benefit from reusing locales as defined in Moment.js by slightly altering DatepickerNls :

this.getWeekdays = function(locale) {
if (moment) {
moment.locale(locale);
return moment.weekdays();
}
};

(same for Months)

This would guarantee consistency for apps already using Moment.js, plus provide a vast amount of high-quality translations for DatePicker

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions