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
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
..
discourse_calendar DEV: Incorporate the discourse-livestream plugin into discourse-calendar (#40466) 2026-06-09 11:30:58 +10:00
discourse_post_event FIX: Treat all-day calendar events as date-only (#41203) 2026-06-29 11:30:38 +02:00
calendar_event.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00