thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Validation: EndDate after Start Date #55

Open TheFive opened 3 years ago

TheFive commented 3 years ago

Hi Thomersch,

i have (may be introduced by myself) fixed two events where the start date was after the end date. (start date 5.1.2021 but end date 5.1.2020).

May be you can add a validation in the editor to avoid this, or use the start date as default for the end date dynamically.

Christoph

thomersch commented 3 years ago

Good point!

thomersch commented 3 years ago

Ok, we got the validation deployed. Regarding the form: Well, the widget is not great in general. I'll look whether I can improve its configuration.