Bug #102153
closedDatetime field with "today" date is not stored
100%
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.
Updated by Gerrit Code Review 7 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82086
Updated by Gerrit Code Review 7 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82112
Updated by Imko Schumacher 7 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8be3f6a9f9ea9ffc54163e623b25f910527e995d.