# Undefined ICS file name

**URL:** https://meta.discourse.org/t/undefined-ics-file-name/387696
**Category:** Bug
**Tags:** events
**Created:** [November 5, 2025, 5:55pm UTC](https://meta.discourse.org/t/undefined-ics-file-name/387696 "2025-11-05T17:55:36Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 7, 2025, 5:13am UTC](https://meta.discourse.org/t/undefined-ics-file-name/387696/7 "2025-11-07T05:13:06Z")

</div>

There is A LOT here:

[https://github.com/discourse/discourse/pull/35886](https://github.com/discourse/discourse/pull/35886)

It is Friday (at least somewhere ;p ) so I will wait till Monday to merge.

This change is incredibly extensive and should give us significantly better ICS support.

- Unifies the pipeline for ICS generation - we only use one mechanism for both add to calendar and clicking on dates
- Corrects many small bits of nuance in the ics format
  - We pass on RRULE so if you grab a recurring event
  - Proper CRLF line breaks and general adherence to ICS format
  - Timezone support so when you grab an ICS for an event it will signal the correct timezone vs be a UTC event - this means recurrence will work.

- Expands the local dates format to support an optionally encoded ics

An open question I have is **yes, rrule** or **no, rrule**.

If you click here:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/a/6/0a6e42df64247d33a2b5cadda8293f2a24231454.png)

Do we intend to add the recurring event? Or just a single instance of the event?

Similarly, what about here:

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/7/f/e7fd64313a9ba295c20ebaca1ca23316cff0c335.png)

@lindsey I am on the fence here, I can see this argued either way.

1. I clicked on a recurring event and wanted to add the recurrence to my calendar

OR

1. I clicked on an INSTANCE of a recurrence and only want to add it.

I implemented (1) cause I tend to feel it is more correct, but I am open to changing it to 2 if you prefer.

---

_[View the full topic](https://meta.discourse.org/t/undefined-ics-file-name/387696)._
