[TYPO3] ###NEWS_DATE###

Mauro Lorenzutti mauro.lorenzutti at webformat.com
Tue Jan 2 09:14:20 CET 2007


Hi Camilla,

Tuesday, January 2, 2007, 9:03:21 AM, you wrote:

> Hi

> When I create a post with tt_news with ###NEWS_DATE### included - the date
> is presented like this: mandag 18. of december 2006  - I need to remove
> "of" - how can I do that?


You can write this TS code in your template setup:
plugin.tt_news.displayList.date_stdWrap.strftime= %A %d. of %B %Y

and then you can modify the date format in this way:
plugin.tt_news.displayList.date_stdWrap.strftime= %A %d %B %Y

I hope this will help you!

Best regards,
 Mauro Lorenzutti


e-mail:  mauro.lorenzutti at webformat.com

---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
     Tel +39-0427-926.389  --  Fax +39-0427-927.653
       info at webformat.com  --  www.webformat.com
---------------------------------------------------------



More information about the TYPO3-english mailing list