[TYPO3-core] RFC: Correction of Feature #5110: stdWrap + GMT option for stdWrap.strftime

Ralf Hettinger ng at ralfhettinger.de
Wed Nov 14 14:44:46 CET 2007


This is an SVN patch request.

Type: New feature (correction of patchfile)

Bugtracker references:
http://bugs.typo3.org/view.php?id=5110

Branches:
trunk

Problem:
(1) Sometimes it might be quite useful, if strftime supported .stdWrap - e.g. if
you would want your frontend visitor to be able to decide for "his own" date
format to be shown.
(2) Additionally, it would be nice to have gmstrftime at hands by a simple
switch instead of strftime (e.g. if you eval time fields).
@see http://www.php.net/manual/de/function.gmstrftime.php

Solution:
(1) Enable stdWrap for stdWrap.strftime
(2) Enable new switch strftime.gm=[boolean]

Notes:
Previous patch introduced a bug. Please use corrected version attached, if merged.

Cheers
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5110_corrected_trunk.patch
Type: text/x-patch
Size: 1255 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071114/e5189426/attachment.bin 


More information about the TYPO3-team-core mailing list