0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-calendar/app/models/discourse_post_event
Régis Hanol b60106123e
FIX: Treat all-day calendar events as date-only (#41203)
Previously, all-day calendar events were stored and exported as
timestamped instants, so iCal and Google Calendar treated them as timed
events, and recurring all-day events spanned an extra day.

This change emits all-day events as date values with an exclusive end
date in the iCal feed, the "Add to calendar" download, and the Google
Calendar link, and ends recurring all-day occurrences at the end of
their day so they render as a single day.

Meta:
-
https://meta.discourse.org/t/creating-an-all-day-event-that-is-usable-by-ical/253665
-
https://meta.discourse.org/t/display-only-the-day-for-full-day-events-in-details/395646
2026-06-29 11:30:38 +02:00
..
event.rb FIX: Treat all-day calendar events as date-only (#41203) 2026-06-29 11:30:38 +02:00
event_date.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
invitee.rb UX: Rework the event bulk invite modal (#40496) 2026-06-18 10:38:34 +02:00