- Issue created by @dpagini
- πΊπΈUnited States dpagini
This MR works for the exact use case I specified, but I'm not sure how it would impact all the other uses of the calendar...
- πΊπΈUnited States dbdrupal
Thanks @dpagini. I have a use case that is very similar to this, however, there is a default duration for events. We run a youth sports league and all games are an hour in duration. The hour duration is common knowledge so we don't set an end date for the field. However, this doesn't play nice with the current version of FullCalendar. I would like to see (and it used to be there) a default duration added that can be set in the view to tell fullcalendar that if it does not see and end date, to add X number of hours to the start date.
- Status changed to Needs review
26 days ago 4:25pm 1 June 2025 - πΊπΈUnited States mortona2k Seattle
This fix is working for me.
The code just uses the start date if the end date is empty.
I don't know enough to verify further, but this seems better than how it currently is.
- πΊπΈUnited States dcam
I have this problem in the calendar I set up too. Those events only have start dates because they represent a single moment in time, not a duration.
To solve the problem I used the fix from π Hook not firing Active to add
hook_fullcalendar_process_dates_alter()
in a custom module and give all dates a duration of 1hr. - First commit to issue fork.
-
mandclu β
committed 239459de on 3.0.x authored by
dpagini β
Issue #3509432 by dpagini, mandclu: Past events with no end date span...
-
mandclu β
committed 239459de on 3.0.x authored by
dpagini β
- π¨π¦Canada mandclu
Thanks for everyone's work here. I was able to replicate the problem, and verify that the proposed fix addressed it. I made a change to simplify the syntax, and merged it. I will try to roll a new release soon.
Automatically closed - issue fixed for 2 weeks with no activity.