Skip to content

Improvement request : integration with Moment.js #9

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions