evo-calendar icon indicating copy to clipboard operation
evo-calendar copied to clipboard

Some issues with date range especially when date range starts from the current(today) date

Open rheman opened this issue 4 years ago • 2 comments

Hi, Thanks a lot for this great plugin. It is simple, useful and easy to implement. But I just seen some issues with the date, especially when you add and event with date range.

Here is the behavior.

1- When you add an event with a date range, event starting from the current(today) date to other date, the event is not dynamically added to the current(today) eventList siderBar.

2- When you refresh the calendar(reload), event starting from the current(today) date to other date are not displayed on the current(today) eventList siderBar, you have to click on other date then on the current(today) date to see the events with date range on the current(today) eventList siderBar.

Could you have a look at this ?

Regards,

rheman avatar Jan 08 '21 11:01 rheman

I have got same issue here. this is what i do. When $('#kalender-agenda').on('selectDate', function(event, newDate, oldDate) then i do console.log($('#calendar').evoCalendar('getActiveEvents')); . everything work properly. but if first selected date(by default it is today) have events that the time events are date range . when i click the date, the event that have date range doesnt appear on my console.log.

to show the real data, u must click on other date, and then click again today date

Thank u very much for this project. This is beutiful calendar and easy to use

ridwanpranata avatar May 10 '21 23:05 ridwanpranata

I solve this issue by calling buildEventList after adding the event

$('#calendar').evoCalendar('buildEventList')

adriallongarriu avatar Jan 24 '22 17:01 adriallongarriu