# Automatically close a poll on a given date/time?

**URL:** https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642
**Category:** Feature
**Tags:** completed
**Created:** [February 2, 2018, 6:54am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642 "2018-02-02T06:54:25Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [February 2, 2018, 6:54am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/1 "2018-02-02T06:54:25Z")

</div>

Is there a way to automatically close a poll on a given date/time?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 2, 2018, 8:06am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/2 "2018-02-02T08:06:25Z")

</div>

No, but it has been requested a lot and I would like to add it.

---

<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: [February 2, 2018, 10:57pm UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/4 "2018-02-02T22:57:40Z")

</div>

It’s been on my 📝 since the inception of polls.

Consider it bumped 🆙

---

<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: [February 5, 2018, 8:50pm UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/5 "2018-02-05T20:50:18Z")

</div>

The nice thing is that now we have the generalised system @tgxworld extracted, so it should be far simpler to build… waiting pays off sometimes! 🤗

---

<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 3, 2018, 12:12am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/6 "2018-05-03T00:12:47Z")

</div>

It’s now in 🎉

[https://github.com/discourse/discourse/commit/ba14c80b9c7a774d10ee2d8c9f26f0d989aa8cfe](https://github.com/discourse/discourse/commit/ba14c80b9c7a774d10ee2d8c9f26f0d989aa8cfe)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 3, 2018, 12:44am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/7 "2018-05-03T00:44:31Z")

</div>

🙌

And here are some screenshots as well!

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/9/19293a81a1db34e01d29472db5797cab82038b74.jpg)

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/0/20ba598f7cd650e8c3650cb3d1785444bda3f665.jpg)

---

<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 3, 2018, 9:10am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/8 "2018-05-03T09:10:16Z")

</div>

And here a live example ⬇

_Poll ([view on site](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/8))_

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 2, 2018, 3:10am UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/9 "2018-10-02T03:10:50Z")

</div>



---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [October 8, 2018, 4:44pm UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/10 "2018-10-08T16:44:42Z")

</div>

@zogstrip, is it intentional that auto-closed polls cannot be reopened? Polls without a timer can be opened and closed as needed by staff.

---

<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: [October 8, 2018, 4:45pm UTC](https://meta.discourse.org/t/automatically-close-a-poll-on-a-given-date-time/79642/12 "2018-10-08T16:45:35Z")

</div>

It is indeed intentional. If there’s a close date, and it has passed, then it’s closed.
