I am changing from the view preset from 'dayAndWeek' to 'hourAndDay' and fixing the startDate to 'Fri Jul 12 2019 00:00:00' and endDate to 'Fri Jul 12 2019 23:59:59' to display only 24 hour.
When i change the view from 'dayAndWeek' to 'hourAndDay' the scheduler displays two days jul 12 and jul 13 even when i am setting the startDate to 'Fri Jul 12 2019 00:00:00' and the endDate to 'Fri Jul 12 2019 23:59:59'.
This is how i am changing the view:
switch (this.dashboardRequest.dateIntervals) {
case '1DAY': {
this.viewPreset = 'hourAndDay';
break;
case '1MONTH': {
this.viewPreset = 'dayAndWeek';
break;
}
}
<bry-scheduler #scheduler
[columns]="columns"
[events]= "events"
[resources]= "resources"
[startDate]= "startDate"
[endDate]= "endDate"
[viewPreset]="viewPreset">
</bry-scheduler>
I am using Angular wrapper.