When selecting a start datetime, the end datetime should be after the start datetime.
- [ ] When a user enters a start datetime in the widget for an event content type, its end datetime should update to be after the start datetime. In other words, the event duration must be a positive number.
- [ ] If the user enters an end datetime equal to or before the start datetime, then validation on both the frontend and backend will prevent saving the event and return a helpful error message: "End datetime must be after start datetime".
- [ ] For all-day events, the start time shall be
00:00:00and end time23:59:59in the events timezone. - [ ] For recurring events, an end datetime is optional.
Pulled from #5551.
@stevepiercy Is this about validation, or about how the widgets operate, or something else?
@davisagli, all the above. I updated the description to be explicit. @tisto as original proposer, and both @plone/volto-team and @plone/volto-accessibility, should review the revised issue description, as this is a pretty major change and improvement.
Hi There! 👋
We haven't seen any activity on this issue in a while :sleeping:, and we want to make sure that it's still relevant.
If updating to the latest version of Volto doesn't help, please let us know by:
- adding a comment about what needs to be done next 💬
- updating its status and other labels 🏷️
Otherwise close this issue. 🧹