Bug #66793

Epic #77562: Misbehaviors with datetime values and timezones

"simulate time" in admin-panel does not respect timezone

Added by Sybille Peters over 6 years ago. Updated about 3 years ago.

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

  1. Set allowed time from 9:00 to 10:00 for a page (e.g. 9:00 5-5-2015)
  2. 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


Related issues

Related to TYPO3 Core - Feature #80559: datetime and time handling should always have timezone informationClosed2017-03-29

Actions
Related to TYPO3 Core - Bug #27919: Preview in Admin Panel does not handle Timezone correctlyClosed2011-07-06

Actions
Related to TYPO3 Core - Epic #84044: Admin Panel ReworkClosedSusanne Moog2010-08-11

Actions
Related to TYPO3 Core - Feature #85021: Add hint for entering date/time in "simulate time" text field in admin panelClosed2018-05-16

Actions
Related to TYPO3 Core - Feature #84584: Re-Design the admin panelClosedSusanne Moog2018-04-03

Actions

Also available in: Atom PDF