Skip to content

Implement starting day and locale support #150

Description

@zuffik

I would like to have an option to set my own locale or at least day labels above the calendar.
Next it would be good to choose what day is the starting day of week (monday instead of sunday).
I have tried this:

let mom = moment();
mom.locale(this.config.locale.short);
mom.isoWeekday(1);
mom.startOf('isoweek');
let picker = new MaterialDatetimePicker({
    'default': mom
});

The starting day stays untouched.
Header is translated but day labels, OK and Cancel buttons are still in english.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions