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

JoH asenau info at cybercraft.de
Wed Oct 14 11:25:28 CEST 2009


> idea isn't bad ;) I would prefer to use hour offset, but allow double
> because of the half hour offsets. Also i would use it as property of
> gm
>
> 10 = TEXT
> 10.field = tstamp
> 10.strftime= %a %H:%i
> 10.strftime.gm = 1
> 10.strftime.gm.offset = -5.5
>
> But i don't see a good usecase for it except using "now", please
> convince me :)

What about real timezones instead of just an hour offset?

Without any timezone set, the default timezone of the server should be used.
Without any timezone set in install tool but no timezone set in TS, the
default timezone of the install tool should be used.
With a timezone set in TS, this should override the timezone of the server,
which would be extremly helpful for people who are running domains with
different timezones in one TYPO3 installation.

10.strftime= %a %H:%i
10.strftime.gm = 1
10.strftime.gm.timezone = Europe/Berlin

10.strftime= %a %H:%i
10.strftime.gm = 1
10.strftime.gm.timezone = America/New York

10.strftime= %a %H:%i
10.strftime.gm = 1
10.strftime.gm.timezone = CET


10.strftime= %a %H:%i
10.strftime.gm = 1
10.strftime.gm.timezone = GMT+1

I bet especially the cal-team people will appreciate this very much.

Just my 2 timezones ;-)

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-team-core mailing list