Actions
Bug #66793
closedEpic #77562: Misbehaviors with datetime values and timezones
"simulate time" in admin-panel does not respect timezone
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-05-05
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The entered time in the text field "simulate time" is evaluated as UTC / GMT even though a different timezone is set on client + server machine (CEST / "Europe/Berlin").
This problem exists in 4.5.40 and 6.2.12.
More info:¶
php.ini:
date.timezone = "Europe/Berlin"
System timezone: CEST
LocalConfiguration.php:
'phpTimeZone' => 'Europe/Berlin',
'serverTimeZone' => '2',
reproduce¶
- Set allowed time from 9:00 to 10:00 for a page (e.g. 9:00 5-5-2015)
- Enter 7:18 in "simulate time" in admin panel
Result¶
Allowed content (9:00 to 10:00) is displayed for entered time of 7:18 > not correct
conclusion:¶
"simulate time" in admin-panel is evaluated as UTC (it does not use current timezone)
Test¶
entered time for content: 6:00 - 9:00
entered time in "simulate time" in admin panel:
3:00 : content not visible
4:00 : content visisble
5:00 : content visible
6:00 : content visible
6:59 : content visisble
7:00 : content not visisble
+2 hours offset
Actions