As the title describes, like may calendar-like applications (and calendars themselves), it would be nice to have a checkbox to say this is an all-day event and to not have to select a start and stop time.
AI-generated summary
The discussion centers on a feature request to add an “All Day” checkbox to the calendar plugin, allowing users to create events without specifying start and end times. jordan-violet originally proposed this feature, noting its utility in aligning with standard calendar applications. Nick_Stager later bumped the topic, highlighting that the current workaround causes confusion by displaying events as starting at 3:00 AM in users’ local time zones. He further suggested that the interface should hide time fields entirely for all-day events, similar to Google Calendar Nick_Stager.
opcourdis provided context on a related technical issue regarding default event time parameters and acknowledged the validity of the request. While noting that development resources are limited, opcourdis offered a potential hack involving custom fields and JavaScript to simulate this behavior by setting times from 00:00 to 23:59 and hiding the inputs. opcourdis also asked for clarification on the specific workaround causing the 3:00 AM issue.
The discussion concluded with lindsey announcing that an “All day event” checkbox has been added to the Create Event modal. This change, implemented via Pull Request #38511, addresses the primary concern raised in the topic. lindsey invited further feedback or new topics if additional adjustments were needed.
Bumping this as this is really hurting our event formatting and some of our members may believe the event is actually starting at 3:00am their time under our current work around.
Hi, in a related area of field there is a default event time parameter for all day event but it does not work so I created a tech issue for it. Setting in admin default start and end date for events has no effect in front end
Thanks, but it would also be better functionality to just not show times at all (or have the option to not show them) for all day events, similar to how google calendar works - an all day event doesn’t have a start time or an end time… because it’s an all day event!
I totally agree. One thing though with the calendar plugin is that there is a long list of features that everyone wants and even such a “looking easy to implement” feature as this one may take time before being implemented(not blaming the devs, its great we have so much for free already).
However to remain solution oriented here I thought of a little hack (not saying I will do this script but here it is) :
-Devs were kind enough to set up a custom field that retains a value, you may with Javascript change it to an all day checkbox and bind an event that when the checkbox is checked, it sets the time of event from 00:00 to 23:59 and hides the hours fields directly.
I use it just use this field for showing the max participant of the event until the max participans feature is available.
By the way you said
our members may believe the event is actually starting at 3:00am their time under our current work around.
I’m curious, what’s the work around that generates this situation?
We recently added an All day event checkbox to the Create Event modal, which should address the primary concern here:
(For reference: FEAT: add all_day option to calendar events by tannerabread · Pull Request #38511 · discourse/discourse · GitHub )
If there’s anything else we need to do here, please let me know or feel free to open a new topic!
This topic was automatically closed after 2 days. New replies are no longer allowed.



