[TYPO3-dev] datetime vs date
Kay Strobach
typo3 at kay-strobach.de
Wed May 4 10:56:25 CEST 2011
;)
Am 04.05.2011 09:32, schrieb Jesper Goos:
> 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
>
--
http://www.kay-strobach.de - Open Source Rocks
More information about the TYPO3-dev
mailing list