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

Steffen Gebert steffen at steffen-gebert.de
Sun Apr 11 10:42:29 CEST 2010


Am 14.10.2009, 09:55 Uhr, schrieb Steffen Kamper <info at sk-typo3.de>:

> good addition! Better to use it as property for date and strftime.
> See attached patch.
>
> Documentation, tsRef,
> add to date:
> date.gm = 1
> the time returned is Greenwich Mean Time (GMT)
> add to strftime:
> strftime.gm = 1
> the time returned is Greenwich Mean Time (GMT)

Hi Steffen,

I now, there has been a lot of discussion for this tiny patch, yet.  
Personally I'd prefer "gmt" instead of "gm", as I wouldn't understand,  
what it should mean.

Attached an IMHO CGL-conform patch.
+1 by reading and testing

Thanks
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12229_v3.diff
Type: text/x-diff
Size: 1204 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100411/f2ef0430/attachment-0001.diff>


More information about the TYPO3-team-core mailing list