error with time of getRecDates event

I got an error in function scheduler.getRecDates(event_id). It is called on events: onEventAdded/onEventChanged.
The hours of events is the system hour and not the selected hour in the recurring form.
In attached files, I added a recurring event to start at 18:00h (image1), but the value was the system hour - 13:08h (image2).

Do you know what is wrong?

Other thing is when a event with rec_type is updated, the getRecDates returns only one value. I was waiting for all values of new rec_type. So, how can I get these new values?

Thanks!




normally getRecDates must return an array of dates, but it will return a single value if you are calling it against not recurring event.

As for problem with type - are you using custom date|time formats?
Can you provide a sample or demo link where issue can be reconstructed?

You are right, the problem was a wrong format. I removed it and works.
Thanks!!!

Error still occurring.
I discovered that happens on thursday until sunday and is related with limit js.
If I remove the javascript of limit or advance dates to another day of the week, it works perfectly.

To test it, you must create a recurring event weekly or monthly event. The errors is:

  • on Thursday and Friday there is error with the time of events (system time)
  • on Saturday didn’t save
  • on Sunday the event is saved, but locks the scheduler

The problem is related to the settings of scheduler.config.limit_start and scheduler.config.limit_end.
If I remove, it works.

I suspect that it somehow related to DTS time shift.
We will try to reconstruct the same problem locally.

I am available to help them in something.
My country is Brazil.