Angular getLocaleFirstDayOfWeek(‘en-FR’) returns 0 (Sunday) as the start day of the week where as it returns 1 (Monday) for en-NL
I need to show the start day of the week based on locale and customise the date picker to show the week days. Since NativeAdaptor always returns Sunday as the week start day, a custom adaptor is written for overriding the native getFirstDayOfWeek() method with angular provided https://angular.io/api/common/getLocaleFirstDayOfWeek. Below is the CustomAdaptor class