[TYPO3-dev] datetime vs date
Kay Strobach
typo3 at kay-strobach.de
Wed May 4 08:50:34 CEST 2011
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
--
http://www.kay-strobach.de - Open Source Rocks
More information about the TYPO3-dev
mailing list