volto icon indicating copy to clipboard operation
volto copied to clipboard

When selecting a start datetime, the end datetime should be after the start datetime.

Open stevepiercy opened this issue 1 year ago • 2 comments

  • [ ] 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:00 and end time 23:59:59 in the events timezone.
  • [ ] For recurring events, an end datetime is optional.

Pulled from #5551.

stevepiercy avatar Jul 01 '24 12:07 stevepiercy

@stevepiercy Is this about validation, or about how the widgets operate, or something else?

davisagli avatar Jul 01 '24 16:07 davisagli

@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.

stevepiercy avatar Jul 01 '24 21:07 stevepiercy

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. 🧹

github-actions[bot] avatar Mar 27 '25 00:03 github-actions[bot]