[TYPO3-dev] bug dbType for date before 01-01-1970

BIDAU ismael.bidau at ensci.com
Wed Sep 24 10:04:57 CEST 2014


I 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 I click save button, the birthday is one day before !
In install tool, I set :
[SYS][serverTimeZone] = 1
[SYS][phpTimeZone] = Europe/Paris

Is it a bug or do I miss something ?
Thank you for your help. 



More information about the TYPO3-dev mailing list