Forums / Cotonti / Development / Siena Beta Testing

Bugfixing and evaluation cycle started

GHengeveld
#28174 2011-01-30 20:51
Okay, I just committed the change to cot_date. There are now 20 predefined formats available:

date_fullY-m-d2011-01-30
date_mediumY-m2011-01
date_shortm-d01-30
date_textF d, YJanuary 30, 2011
date_fulltextl, F d, YSunday, January 30, 2011
time_fullH:i:s08:45:00
time_mediumG:i8:45
time_shorti:s45:00
time_textg:i A8:45 AM
time_fulltextg:i:s A8:45:00 AM
datetime_fullY-m-d H:i:s2011-01-30 08:45:00
datetime_mediumY-m-d H:i2011-01-30 08:45
datetime_shortm-d H:i01-30 08:45
datetime_textF d, Y H:iJanuary 30, 2011 08:45
datetime_fulltextl, F d, Y H:iSunday, January 30, 2011 08:45
week_fullo-\WW2011-W04 (January 1, 2011 would be part of 2010-W53)
week_medium\WWW04
week_short\WW-NW04-7
week_text\WW, lW04, Sunday
week_fulltexto-\WW, l2011-W04, Sunday

They can be used like this:
{LIST_ROW_BEGIN_STAMP|cot_date('date_full', $this)}
This post was edited by Koradhil (2011-01-30 21:55, 13 years ago)