Project

General

Profile

Actions

Bug #59613

closed

DateTime values in BE are shown in UTC

Added by Frans Saris almost 10 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-06-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

DateTime values are not only saved in UTC but also shown in UTC in BE.

When you fill a time field with 00:01 in BE it is visible in list view as 00:01 but in FE as 01:01.

TCA

            'config' => array(
                'type' => 'input',
                'size' => 8,
                'max' => 10,
                'eval' => 'time',
            ),

ExtBase model


    /**
     * Start time
     *
     * @var \DateTime
     */
    protected $startTime;

LocalConfiguration timezone settings

 [SYS][phpTimeZone] = 'Europe/Amsterdam'

So it looks like that date/time values are always saved and displayed in BE as UTC and not converted to local timezone.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #51918: Native date and datetime values do not consider timezoneClosed2013-09-11

Actions
Actions

Also available in: Atom PDF