I am currently utilizing the Angular calendar, which can be viewed at . My objective is to divide the hour into half-hour segments.
Following the information provided here: https://github.com/mattlewis92/angular-calendar/issues/287
I have implemented the following code in styles.scss:
.cal-day-view .cal-hour-segment.cal-after-hour-start .cal-time {
display: block;
}
However, the code is not functioning as expected, resulting in:
https://i.sstatic.net/mD2Wl.png
Each segment is displaying the same hour, such as 07, 08, etc. Is there a specific setting that I may have overlooked?
Could someone provide assistance?
Below is my HTML code:
<mwl-calendar-day-view
[viewDate]="viewDate"
[events]="eventsArray[i]"
[refresh]="refresh"
[hourSegmentTemplate]="dayHourSegmentTemplate"
[dayStartHour]="07"
[dayStartMinute]="00"
[dayEndHour]="22"
[dayEndMinute]="00"
(eventClicked)="eventClicked($event)"
(dayClicked)="dayClicked($event)"
(hourSegmentClicked)="hourSegmentGetClicked($event.date)"
[eventTemplate]="eventTemplate"
[eventTitleTemplate]="customDayTemplate"
[hourSegments]="4"
>
</mwl-calendar-day-view>