#102153Datetime field with "today" date is not stored
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.
Reviews 2
History 24
-
Gerrit Code Review pushed patch set 1 for main to change 82086 status
NewUnder Review 12/04/23, 20:48 -
Gerrit Code Review pushed patch set 1 for 12.4 to change 82112 12/06/23, 05:44
-
Imko Schumacher commented and changed status
Under ReviewResolved done0 %100 % 12/06/23, 06:00 -
Benni Mack changed status
ResolvedClosed 07/09/24, 15:19
Applied in changeset commit:8be3f6a9f9ea9ffc54163e623b25f910527e995d.