-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time limited polls #17
Comments
see #22 What still needs to be done:
|
Note, you are currently bale to create time limits in the past, this should not be allowed. |
Quick thought: |
Currently we are saving the time and date in UTC, I think having time suport is helpfull |
Disallowed the possibility to select a date in the past with a minimum of 2 hours length. This is not checked on post yet. TODO:
What needs to be determined:
Pings for thoughts: @powli @Tranberry @NogginBops @Dormanil @vogonistic Feel free to edit the message as the state of this issue change. |
I like the ability to set time limits, but that could be problematic with regards to different time zones. Shouldn't be too hard to implement though I imagine. |
Implementation is not a problem. It is more about the direction we want to go with this. I like the ability to set the time, but there is a case to be made to have the time set only to the nearest hour, to simplify picking a date and time. |
I like the nearest hour idea, maybe like increments of half an hour could work? |
I'm also just for the nearest hour for now. If it seems necessary we can implement more detailed times later anyway. For timezones, I would just add a select field with all time zones to the poll creation and normalize them to GMT upon saving to the DB. So the server can just compare GMT timestamps internally. We might need to change the timestamps in the frontend according to the timezone of the user, but I would consider that future jazz. |
Should the creator of the poll be able to change the date during the time it's open? Or could that be abused to do undemocratic actions? |
@powli as far as I am aware moment() (what is used by the bootstrap widget) automatically works in the user's timezone and will convert it to GMT on post. I dont think we should have the ability to change the time the poll closes once it is set. It allows for system abuse, and for the poll to remain democratic, the rules need to be stated from the start (afaik). |
Add a date option to limit a poll to a set date. After the specified day is finished, no further votes are allowed and the poll should only be visible in result mode.
Things to do:
The text was updated successfully, but these errors were encountered: