I am working on laravel-angular project and I am using angular ui-calendar, I am also using jquery context menu plugin to create dynamic menu for each events.
I am using fullcalendar# 2.7.3 , angular-ui-calendar#1.0.2 , jQuery-contextMenu#2.4.4 and moment#2.18.1
->When i load full calendar page on server, It does not display current month nor any events on current month, But as i change the view like day or week and return to month view then it is displaying events properly. And because of this the next/prev and today buttons are not working.
->When i change the view from next or previous buttons, The events are displayed properly but the header title containing month is wrong, it always displays 1 month greater when i use next or previous button.
This Code is working fine on local, I have also tried to change timezone but it still i face the issue.
Here is my code:
//To get Data
function datasetsevents(){
let Subcourses = API.service('subcoursescalender')
return Subcourses.one().get();
}
I am working on laravel-angular project and I am using angular ui-calendar, I am also using jquery context menu plugin to create dynamic menu for each events.
I am using fullcalendar# 2.7.3 , angular-ui-calendar#1.0.2 , jQuery-contextMenu#2.4.4 and moment#2.18.1
->When i load full calendar page on server, It does not display current month nor any events on current month, But as i change the view like day or week and return to month view then it is displaying events properly. And because of this the next/prev and today buttons are not working.
->When i change the view from next or previous buttons, The events are displayed properly but the header title containing month is wrong, it always displays 1 month greater when i use next or previous button.
This Code is working fine on local, I have also tried to change timezone but it still i face the issue. Here is my code:
//To get Data
function datasetsevents(){ let Subcourses = API.service('subcoursescalender') return Subcourses.one().get();
}
$scope.eventsF = function(start, end, timezone, callback) { var events = [];