[TYPO3-dev] datetime vs date

Jesper Goos jesper at goos.dk
Wed May 4 09:05:16 CEST 2011


Thanks for the hint.
Could you maybe elaborate a little on that? I am not sure how to do that?...

KR Jesper


On 5/4/11 08:50 , Kay Strobach wrote:
> Hi,
>
> perhaps you need to load the page before with a loadTCA function?
>
> Regards
> Kay
>
> Am 03.05.2011 22:42, schrieb Jesper Goos:
>> 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