angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 728 forks source link

Start week on Monday #282

Closed ghost closed 9 years ago

ghost commented 9 years ago

Is there any way to configure calendar week to start on Monday instead of Sunday?

LilBiggs commented 9 years ago

Yes. Take a look at the fullCalendar documentation Here

Example:

$scope.uiConfig = {
    calendar:{
        firstDay:1,
        /* Other Properties */
    }
}
laander commented 9 years ago

It may also be set implicitly by defining the language fullcalendar should work in, e.g.

$scope.uiConfig = {
    calendar: {
        lang: "da"
    }
}

See http://fullcalendar.io/docs/text/lang/

asadmehboob commented 8 years ago

how can we start week on select date(from date picker)??