[TYPO3-dev] datetime vs date

Jesper Goos jesper at goos.dk
Fri May 6 10:55:49 CEST 2011


Ok, another issue:

Now that the formatting is set right the endtime itself does not work.
I checked the server time and the endtime in the database... Is there 
something I have to activate before this works in an extension?

KR Jesper


On 5/4/11 10:56 , Kay Strobach wrote:
> ;)
>
> 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
>>
>
>





More information about the TYPO3-dev mailing list