angular-ui / ui-calendar

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

Anyone else having problems setting businessHours? #423

Open peteashworth opened 8 years ago

peteashworth commented 8 years ago

I can't seem to change the default business hours. Below is my config;

$scope.uiConfig = {
      calendar: {
        header:{
          left: 'prev,next today',
          center: 'title',
          right: 'month,agendaWeek,agendaDay'
        },
        defaultView: 'agendaDay',
        editable: true,
        selectable: true,
        eventLimit: true,
        nowIndicator: true,
        businessHours:[
          {
            start: '10:00',
            end: '13:00',
            dow: [0,1,2,3,4,5,6]
          }
        ]
      }
    };
aeddaoudi commented 8 years ago

I do have the exaxt same issue were you able to figure it out @PeteAshworth ? If so please let me know thanks

peterver commented 7 years ago

i can set the start/end, but the dow doesnt seem to do anything. You might have to take it up with fullcal :/ ?

Can you check with the 1.0.2 release of ui-cal if the problem still persists ?