Actions
Bug #61952
closedbug dbType for date before 01-01-1970
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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 !
Actions