[BUGFIX] Show correct timezone when displaying FormEngine time field 12/38112/15
authorAndreas Allacher <andreas.allacher@gmx.at>
Wed, 25 Mar 2015 15:40:08 +0000 (16:40 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 27 Apr 2015 17:23:26 +0000 (19:23 +0200)
commitbb0032f48ae0ccaa4745dcaa7fded592416cd59d
tree4ff5e098ae938232c03d684eed2beab1f4e48d62
parenta1ed7cefc902cb9bd0e0451c550fe92ea3302033
[BUGFIX] Show correct timezone when displaying FormEngine time field

"time" and "timesec" fields currently do not store time as UTC in database,
however, in the FormEngine modifications time was also handled
as being stored in UTC which results in time fields being stored and
then being modified with +/- x hours, depending on server time.
This patch reverts the behaviour back to store times as server-time.

However, in the future it would be good to store those values as UTC too,
but that will require more changes and would also be a breaking change.

Change-Id: I6c299bfa3d0387081f00c6cba7723e10236fabf0
Resolves: #65976
Releases: master
Reviewed-on: http://review.typo3.org/38112
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Element/InputElement.php