Actions
Bug #102153
closedDatetime field with "today" date is not stored
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-10-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have the follwowing TCA configuration
'config' => [ 'type' => 'datetime', 'format' => 'date', 'default' => 0, 'behaviour' => [ 'allowLanguageSynchronization' => true, ], ],
When I now select "Today" from the date picker, the current date is displayed. But when I save the form, the field is empty again.
I encountered this also on a datetime field (with time displayed). The current time is not stored, but when I date back 2 hours the date and time is stored correctly. The server is running on UTC, maybe this explains the difference.
Actions