angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

First Day of Week is Incorrect

Open erkanarslan opened this issue 8 years ago • 2 comments

I am trying to localize the datepicker to Turkish. I tried changing day and month names first. Angular i18n files have no effect. I tried moment.js language file and it worked. However, only the language changes. First day of the week is still Sunday which should be Monday for Turkish locale. I searched the internet but couldn't find a solution.

erkanarslan avatar Oct 31 '17 17:10 erkanarslan

Not a frequent angular-datepicker contributor/user, buy maybe you could find your answer here? http://momentjs.com/docs/#/manipulating/start-of/

marcaparent avatar Nov 14 '17 18:11 marcaparent

@marcaparent It is not related to that. That momentjs method gets start of day, week etc. for a given date. In my case, datepicker ui shows sunday as the first day of the week.

erkanarslan avatar Nov 24 '17 19:11 erkanarslan