- Issue created by @Grevil
The logic of a datetime element is, that if a date and time is provided, we get an DrupalDateTime object. This is good. But if we do not provide a time we get an ugly array, which we need to convert back to a DrupalDateTime object. Doing so inside massageFormValues does work, but the validation error still appear on save.
Make the time optional.
Active
1.0
Code