[TYPO3-core] RFC: #12229: stdWrap has date but no gmdate

Martin Kutschker masi-no at spam-typo3.org
Wed Oct 14 09:30:05 CEST 2009


Steffen Kamper schrieb:
> 
> Solution:
> add gmdate
> 
> 10 = TEXT
> 10.field = tstamp
> 10.gmdate = d.m.Y H:i

How about a propery?

10 = TEXT
10.field = tstamp
10.date = d.m.Y H:i
10.date.gm = 1

The advantage is that the already large list of stdWrap properties isn't getting larger. Plus we can
apply this property also to stftime.

10 = TEXT
10.field = tstamp
10.strftime= %a %H:%i
10.strftime.gm = 1

Masi


More information about the TYPO3-team-core mailing list