Actions
Bug #91508
closedEpic #77562: Misbehaviors with datetime values and timezones
It is not possible to save "negative" dates, e.g. a year before jesus christus with date inputs
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2020-05-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Example setup to reproduce:
1. raise storage for field:
CREATE TABLE tt_content ( starttime bigint, );
2. Select an date before year 0.
3. Save
4. You'll see the same year but after 0, not before 0.
The same happens when changing the setup of the field:
$GLOBALS['TCA']['tt_content']['columns']['starttime'] = [ 'exclude' => 0, 'label' => 'Some year', 'config' => [ 'type' => 'input', 'renderType' => 'inputDateTime', 'eval' => 'date, int, required', ], ];
Files
Actions