{"action":"closed","issue":{"url":"https://api.github.com/repos/myplanet/angular-date-picker/issues/13","labels_url":"https://api.github.com/repos/myplanet/angular-date-picker/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/myplanet/angular-date-picker/issues/13/comments","events_url":"https://api.github.com/repos/myplanet/angular-date-picker/issues/13/events","html_url":"https://github.com/myplanet/angular-date-picker/issues/13","id":118657878,"number":13,"title":"Wrong firstDayOfWeek with $locale","user":{"login":"nicmae","id":332819,"avatar_url":"https://avatars.githubusercontent.com/u/332819?v=3","gravatar_id":"","url":"https://api.github.com/users/nicmae","html_url":"https://github.com/nicmae","followers_url":"https://api.github.com/users/nicmae/followers","following_url":"https://api.github.com/users/nicmae/following{/other_user}","gists_url":"https://api.github.com/users/nicmae/gists{/gist_id}","starred_url":"https://api.github.com/users/nicmae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicmae/subscriptions","organizations_url":"https://api.github.com/users/nicmae/orgs","repos_url":"https://api.github.com/users/nicmae/repos","events_url":"https://api.github.com/users/nicmae/events{/privacy}","received_events_url":"https://api.github.com/users/nicmae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T17:06:35Z","updated_at":"2015-11-25T20:54:43Z","closed_at":"2015-11-25T20:54:43Z","body":"It seems that $locale follows ISO8601 standard for DATETIME_FORMATS.FIRSTDAYOFWEEK (*https://github.com/angular/angular.js/issues/11900*).\r\n\r\nAs results, 0 is monday, 1 is sunday for $locale. As the picker is based on the javascript standard, the date-picker is reversed when $locale is used.\r\n"}}