Hi,
The following section of the code scheduler.getEventEndDate(event_id).
The date shows the time correctly on save however date is displayed same as start date.
Thanks for your help in advance.
Cheers,
Kashi
Hi,
The following section of the code scheduler.getEventEndDate(event_id).
The date shows the time correctly on save however date is displayed same as start date.
Thanks for your help in advance.
Cheers,
Kashi
Hello,
I am sorry, it’s not cleat what’s the problem. Maybe you forgot to add code?
Kind regards,
Ilya
Hi,
Please find attached the image for the error faced while getting end date.
Please refer the code sample in Novo_Calendar.html
Thanks for your help in advance.
Regards,
Kashi
cal.zip (185 KB)
Hello,
Somehow your sample doesn’t work for me.
At what time do you call scheduler.getEventEndDate(event_id)?
In your sample I can see following:
scheduler.attachEvent("onEventSave",function(id,data,is_new_event){
alert(scheduler.getEventStartDate(id));
});
Please note that at this stage (onEventSave) event still contains old data and the new data which will be actually saved is in the ‘data’ argument.
So to get start/end date use
data.start_date
data.end_date
Kind regards,
Ilya