Bug #61952
closedbug dbType for date before 01-01-1970
0%
Description
set a TCA field like this :
'birthday' => array (
'exclude' => 1,
'label' => 'LLL:EXT:ensci_contacts/Resources/Private/Language/locallang_db.xml:fe_users.birthday',
'config' => array (
'type' => 'input',
'dbType' => 'date',
'size' => '10',
'max' => '10',
'eval' => 'date'
)
),
For birthday > 01-01-1970, no problem.
For birthday < 01-01-1970, the display date is one day before the date that is in the database. Each time you click save button, the birthday is one day before !
Updated by Stefan Neufeind over 9 years ago
It a problem with timezone-handling. Would be solved with #61110.
Updated by Riccardo De Contardi over 8 years ago
- Status changed from New to Closed
I close this as it is a duplicate of #69290 please continue the discussion there (I also added the related issues of this issue there)
If you think that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.