# 创建 iCal 可用的全天事件

**URL:** <https://meta.discourse.org/t/creating-an-all-day-event-that-is-usable-by-ical/253665>\
**Category:** Bug\
**Tags:** events, fixed\
**Created:** [2023年一月21日 19:36 UTC](https://meta.discourse.org/t/creating-an-all-day-event-that-is-usable-by-ical/253665 "2023-01-21T19:36:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2026年六月25日 16:01 UTC](https://meta.discourse.org/t/creating-an-all-day-event-that-is-usable-by-ical/253665/6 "2026-06-25T16:01:08Z")

</div>

@here 应该可以通过以下 PR 修复：

> <https://github.com/discourse/discourse/pull/41203>
>
> Previously, all-day calendar events were stored and exported as timestamped inst…ants, 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

---

_[View the full topic](https://meta.discourse.org/t/creating-an-all-day-event-that-is-usable-by-ical/253665)._
