about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorPleclown <pleclown+github@gmail.com>2022-12-15 16:20:34 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-12-15 20:54:53 +0100
commit98f7b3657a202c51a40cc079ad7f04ce96d3a37c (patch)
treebb490f1cf4d4a2bd442f957cde0cf2853eb9efc6 /app/javascript
parentaad42cfc35447b9fccb401471cbf335185c55a97 (diff)
[Glitch] Adding 12 hours option for polls
Port 3a59ffde8d1600729bf51ff42f1d646062edfc8d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/poll_form.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/poll_form.js b/app/javascript/flavours/glitch/features/compose/components/poll_form.js
index d5edccff3..afb5da097 100644
--- a/app/javascript/flavours/glitch/features/compose/components/poll_form.js
+++ b/app/javascript/flavours/glitch/features/compose/components/poll_form.js
@@ -153,6 +153,7 @@ class PollForm extends ImmutablePureComponent {
             <option value={1800}>{intl.formatMessage(messages.minutes, { number: 30 })}</option>
             <option value={3600}>{intl.formatMessage(messages.hours, { number: 1 })}</option>
             <option value={21600}>{intl.formatMessage(messages.hours, { number: 6 })}</option>
+            <option value={43200}>{intl.formatMessage(messages.hours, { number: 12 })}</option>
             <option value={86400}>{intl.formatMessage(messages.days, { number: 1 })}</option>
             <option value={259200}>{intl.formatMessage(messages.days, { number: 3 })}</option>
             <option value={604800}>{intl.formatMessage(messages.days, { number: 7 })}</option>