twinssbc / Ionic2-Calendar

A calendar component based on Ionic framework
https://ionic-calendar-demo.stackblitz.io
MIT License
388 stars 197 forks source link

My ionic2-calendar never shows monday events #557

Open javitineo opened 4 years ago

javitineo commented 4 years ago

Hello, here is my code to show a calendar2-plugin inside an ionic app.

<calendar formatWeekViewDayHeader=“EE d” [locale]=“calendar.locale” [monthviewDisplayEventTemplate]=“template” [eventSource]=“eventSource” [calendarMode]=“calendar.mode” [currentDate]=“calendar.currentDate” [startingDayMonth]=“calendar.startingDayMonth” (onRangeChanged)="onCurrentDateChanged($event)" [showEventDetail]="calendar.showEventDetail" [noEventsLabel]="calendar.noEventsLabel" (onCurrentDateChanged)="onCurrentDateChanged($event)" (onEventSelected)="onEventSelected($event)" (onTitleChanged)="onViewTitleChanged($event)"

step="60" startingDayWeek="1">

The fact is that when the event onCurrentDateChanged fires, im sure that eventSource has events for all days of the week, from monday to sunday…but the mondays event is never visible…for the present week, and the followers… what could be happening?

thanks.

twinssbc commented 4 years ago

@javitineo is your event all day event or normal event? could you provide some sample event?