# When "closing" event it moves it to today's date & time

**URL:** <https://meta.discourse.org/t/when-closing-event-it-moves-it-to-todays-date-time/307292>\
**Category:** Bug\
**Tags:** events\
**Created:** [May 8, 2024, 6:26pm UTC](https://meta.discourse.org/t/when-closing-event-it-moves-it-to-todays-date-time/307292 "2024-05-08T18:26:35Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [May 13, 2024, 4:05pm UTC](https://meta.discourse.org/t/when-closing-event-it-moves-it-to-todays-date-time/307292/9 "2024-05-13T16:05:15Z")

</div>

Just opened a PR to add support for “closed” events 👍

Before that we only relied on the start and end dates to determine whether an event was “expired”, hence why we had to overwrite the event dates to be “in the past”.

> <https://github.com/discourse/discourse-calendar/pull/564>
>
> Adds support for "closed" events instead of just relying on the start & end date…s.
> 
> An event will be "expired" when it happened in the past.
> 
> An event might now also be "closed", if for whatever reasons, the author decides to "cancel" it.
> 
> Context - https://meta.discourse.org/t/when-closing-event-it-moves-it-to-todays-date-time/307292

---

_[View the full topic](https://meta.discourse.org/t/when-closing-event-it-moves-it-to-todays-date-time/307292)._
