Describe the bug
When selecting a due date within the poll editor (all branches), it is not saved within the database. Instead the default due date is still applied.
To Reproduce
Go to the note/poll etc. editor.
Select a due date. Preferably way past the default due date of 1 week after today.
Submit the post.
Check the due_date column within the posts db of the created post.
Expected behavior
The due_date column should be set to the selected date, instead it is set to the default date of 1 week after today.
Additional notes
The time in milliseconds can be easily converted with https://currentmillis.com/ to check the dates.
(It should also not be possible to select dates before the current date as a due date.)
Describe the bug When selecting a due date within the poll editor (all branches), it is not saved within the database. Instead the default due date is still applied.
To Reproduce
Expected behavior The due_date column should be set to the selected date, instead it is set to the default date of 1 week after today.
Additional notes The time in milliseconds can be easily converted with https://currentmillis.com/ to check the dates. (It should also not be possible to select dates before the current date as a due date.)