You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I set timeInterval and step to 45, the grid doesn't work as expected.
For example, I will see 00:00, 00:45 and then 01:00. Where I would expect to see 00:00, 00:45 and then 01:30.
I am using ionic 5 Angular and 0.6.6 of ionic2-calendar
Here is my HTML code: <calendar [eventSource]="eventSource" [calendarMode]="calendar.mode" [currentDate]="calendar.currentDate" [startingDayMonth]="1" (onCurrentDateChanged)="onCurrentDateChanged($event)" (onEventSelected)="onEventSelected($event)" (onTitleChanged)="onViewTitleChanged($event)" (onTimeSelected)="onTimeSelected($event)" step="45" formatHourColumn="HH:mm" timeInterval="45" class="calendar" > </calendar>
How do I fix that?
The text was updated successfully, but these errors were encountered:
@andrejwright 45 is not supported. It is explained in the README.
timeInterval (version >= 0.3)
It is used to display the rows using more accurate time interval in weekview and dayview. For example, if set to 30, then the time interval between each row is 30 mins. The unit is minute. **It should be the factor or multiple of 60, which means 60%timeInterval=0 or timeInterval%60=0**.
Default value: 60
Hi,
When I set timeInterval and step to 45, the grid doesn't work as expected.
For example, I will see 00:00, 00:45 and then 01:00. Where I would expect to see 00:00, 00:45 and then 01:30.
I am using ionic 5 Angular and 0.6.6 of ionic2-calendar
Here is my HTML code:
<calendar [eventSource]="eventSource" [calendarMode]="calendar.mode" [currentDate]="calendar.currentDate" [startingDayMonth]="1" (onCurrentDateChanged)="onCurrentDateChanged($event)" (onEventSelected)="onEventSelected($event)" (onTitleChanged)="onViewTitleChanged($event)" (onTimeSelected)="onTimeSelected($event)" step="45" formatHourColumn="HH:mm" timeInterval="45" class="calendar" > </calendar>
How do I fix that?
The text was updated successfully, but these errors were encountered: