[TYPO3] TS and date

Andrea Giorgini a.giorgini at norvlit.de
Tue Jul 18 08:45:44 CEST 2006


Hi list,

I've a date through TS this way:

dataWrap={date: d}<sup>th</sup> of {date: F} {date: Y}

I would like to implement a condition to replace th with st in case is 
the first day of the month, and I tried:

[{date: d}=01]
dataWrap={date: d}<sup>st</sup> of {date: F} {date: Y}
[ELSE]
dataWrap={date: d}<sup>th</sup> of {date: F} {date: Y}
[END]

but didn't work... any suggestion?

Thx
Andrea



More information about the TYPO3-english mailing list