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

Steffen Kamper info at sk-typo3.de
Tue Oct 13 23:14:06 CEST 2009


Hi,

This is an SVN patch request.

Type: Bugfix / Minifeature

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

Branch: Trunk

when dealing with timestamps in TS that are stored in UTC it's not 
possible to display them in local time.

I can use
10 = TEXT
10.field = tstamp
10.date = d.m.Y H:i

but this displays the wrong local time.

Solution:
add gmdate

10 = TEXT
10.field = tstamp
10.gmdate = d.m.Y H:i

Documentation, tsRef, stdWrap:

gmdate	date-conf	same as date except that the time returned is Greenwich 
Mean Time (GMT).

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12229.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091013/5ddf0caf/attachment-0001.txt 


More information about the TYPO3-team-core mailing list