[TYPO3-ttnews] Date format used in tt_news
Oliver Rowlands
oliver at liquidlight.co.uk
Sun May 25 14:49:42 CEST 2008
Hi Stephen,
Unfortunately it is not possible to use PHP's 'date' function instead of
the 'strftime' function without modifying tt_news.
You could create your own extension which extends tt_news using the
'extraItemMarkerHook' hook, to add an additional template marker or
overwrite the default ###NEWS_DATE### and ###NEWS_TIME### ones, which
processes the tt_news article 'datetime' field using PHP's 'date' function.
Best regards,
Oliver
Stephen Bungert wrote:
> Is it possible to format the date like PHP's date function instead of
> strftime?
>
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-project-tt-news
mailing list