#37244TCA date evaluation for dates lower 01-01-1970 fails
Description
I configured in TCA the birthday in my own extension table as a required date field. If I try to enter a birthday like 10-4-1965 I see always the yellow alert icon and I cant save the record, because the system say, that I must fill out all required fields. The timestamp for dates lower then 01-01-1970 are negative. I think, that’s the problem.
This is my TCA configuration:
'birthday' => array (
'exclude' => 1,
'label' => 'LLL:EXT:ams_eventmanager/locallang_db.xml:tx_amseventmanager_registrations.birthday',
'config' => array (
'type' => 'input',
'size' => '8',
'max' => '20',
'eval' => 'required,date',
'checkbox' => '0',
'default' => '0',
)
),Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 9
- Bug #21838Date field on TCA can't accept 1-1-1970 as
- Bug #53640js validation for datetime + required doesn't work for below 1970
- Feature #61110Support for timezones in all date fields in TYPO3 BE
- Bug #61952bug dbType for date before 01-01-1970
- Bug #69287Can't enter years before 1902 in date-fields
- Bug #69290Dates get reduced by a day if before 1970
- Bug #73871Problem with date Field
- Bug #79448Handling dates in the very past inside T3-Backend
- Bug #91508It is not possible to save "negative" dates, e.g. a year before jesus christus with date inputs