[TYPO3] TS and date

Tyler Kraft headhunterxiii at yahoo.ca
Tue Jul 18 12:00:17 CEST 2006


note that these have to be outside of any { } which menas you'll need 
the full object


temp.dateobject.dataWrap={date: d}<sup>st</sup> of {date: F} {date: Y}


Tyler Kraft wrote:
> there is already a ts conditional
> 
> do this:
> 
> #default wrap
> dataWrap={date: d}<sup>th</sup> of {date: F} {date: Y}
> 
> [dayofmonth = 1,21,31]
> dataWrap={date: d}<sup>st</sup> of {date: F} {date: Y}
> [dayofmonth = 2,22]
> dataWrap={date: d}<sup>nd</sup> of {date: F} {date: Y}
> [dayofmonth = 3,23]
> dataWrap={date: d}<sup>rd</sup> of {date: F} {date: Y}
> [global]



More information about the TYPO3-english mailing list