[TYPO3-dev] datetime vs date

Jesper Goos jesper at goos.dk
Tue May 3 22:42:12 CEST 2011


Hi

I have created an extension, where I would like the starttime and 
endtime not to be formated as date only but as datetime.

How can I do that?

I have used the extTable.php to set the following lines:

$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';

This works fins, but not inside my extension. Any ideas?

Thanks for any help!!

Kind Regards
Jesper




More information about the TYPO3-dev mailing list