Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Date on increasing size of multi day event #566

Open
Prancingkiller opened this issue Dec 6, 2023 · 1 comment
Open

Invalid Date on increasing size of multi day event #566

Prancingkiller opened this issue Dec 6, 2023 · 1 comment

Comments

@Prancingkiller
Copy link

Prancingkiller commented Dec 6, 2023

When i try to resize a multiday event the originalEvent end property has an "Invalid Date" value, the start value is correct.
before trying to resize the event everything is correct,
for example if i have an event that has:
start: Tue Dec 05 2023 19:45:00 GMT+0100
end: Wed Dec 06 2023 03:00:00 GMT+0100

and i try to resize it adding one hour at the end, (resize by dragging down the end) the object returned by the @event-change function is:

event.start: Tue Dec 05 2023 19:45:00 GMT+0100
event.end: Wed Dec 06 2023 04:00:00 GMT+0100

originalEvent.start: Tue Dec 05 2023 19:45:00 GMT+0100
originalEvent.end: Invalid Date

so the problem i'm seeing is on the originalEvent.end property,
i read in the docs that not everything is working yet with the multiday events (like dragging is disabled), this is an expected issue or is it supposed to work fine?
the same thing for a singleday event is working perfectly.

thanks.

@Prancingkiller
Copy link
Author

I fixed it temporarily assigning manually the end property with a value from the ref array i'm using as source of events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant