[TYPO3-dev] datetime vs date

Jesper Goos jesper at goos.dk
Wed May 4 09:32:37 CEST 2011


OK, I got it - you made my day, Kay!!

After adding this to my extTables.php file it works:

$GLOBALS['TCA']['tt_content']['columns']['starttime']['config']['eval'] 
= 'datetime';
$GLOBALS['TCA']['tt_content']['columns']['endtime']['config']['eval'] = 
'datetime';
$GLOBALS['TCA']['pages']['columns']['starttime']['config']['eval'] = 
'datetime';
$GLOBALS['TCA']['pages']['columns']['endtime']['config']['eval'] = 
'datetime';

t3lib_div::loadTCA('tx_someextension');
$GLOBALS['TCA']['tx_someextension']['columns']['starttime']['config']['eval'] 
= 'datetime';
$GLOBALS['TCA']['tx_someextension']['columns']['endtime']['config']['eval'] 
= 'datetime';


Jesper





More information about the TYPO3-dev mailing list