[TYPO3-core] RFC: Feature #5110: stdWrap + GMT option for stdWrap.strftime
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Nov 14 14:46:33 CET 2007
Ralf Hettinger schrieb:
> This is an SVN patch request.
>
> Type: New feature
>
> 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
-1
You shouldn't need a stdWrap at this point. You have enough point before
(and after) the processing of the current value.
> (2) Enable new switch strftime.gm=[boolean]
+1 but don't do that unset().
UNTESTED
Masi
More information about the TYPO3-team-core
mailing list