MdDatePicker start week on monday
There is any way to configure the datepicker to start week on monday?
As far as I know, the API does not provide anything for this. Also please keep GitHub for issues (or mention that your issue is a feature request) and ask questions on Stack Overflow.
@sriera , override getFirstDayOfWeek in your date adapter returning 1 instead of 0.
getFirstDayOfWeek(): number {
// We can't tell using native JS Date what the first day of the week is, we default to Sunday.
return 0;
}
And how do yo do this?
Thanks
Ask for It in stackoverflow and post the link here. I'll answer over there.
Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.