Datepicker flatpickr does not allow 01-01-1970 as input
The new datepicker (Task #91606) does not allow to input
00:00 01-01-1970 (start of unix epoch).
- current master (e.g. e3746d4454f978bb18065d9d838cbcaee4c0b49d)
Steps to reproduce¶
TCA with datepicker:
'a' => [ 'config' => [ 'type' => 'input', 'renderType' => 'inputDateTime', 'eval' => 'datetime', ], ], 'b' => [ 'config' => [ 'type' => 'input', 'renderType' => 'inputDateTime', 'eval' => 'date', ], ],
- Try to input / select
- Click outside of the input
- input value gets removed and input is empty -> not able to submit the form with these values
- value should not get removed / stay as other values
Updated by Imko Schumacher about 1 year ago
Riccardo De Contardi wrote in #note-2:
Is this one related to (or even a duplicate of) #92900 ?
This date is just error prone, because it is the start of the unix epoch and often represented as 0.
I created both of them and only notice this after testing the other on the current master.