- Issue created by @daniel.pernold
- 🇦🇹Austria daniel.pernold
Same applies to this implementation:
https://git.drupalcode.org/project/webform_content_creator/-/blob/4.x/sr...
When mapping a webform datetime field to a DrupalDateTime field, the mapper treats empty strings as "now".
Treat empty values as NULL. I guess the problem is this line here:
https://git.drupalcode.org/project/webform_content_creator/-/blob/4.x/sr...
$datetime = new DrupalDateTime('', 'UTC');
$datetime will be always "now".
Active
4.0
Code
Same applies to this implementation:
https://git.drupalcode.org/project/webform_content_creator/-/blob/4.x/sr...