Project

General

Profile

Actions

Bug #92962

closed

Native time in record list is displayed in local timezone

Added by Imko Schumacher almost 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-11-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
dbtype, timezone
Complexity:
easy
Is Regression:
Sprint Focus:

Description

A native time in the record list title is displayed in the current timezone.
However we expect no timezone conversion on native time.

Prerequisites

  • server / php timezone !== UTC (e.g. Asia/Shanghai)
  • tested with cc85324731 [master], 10.4, (probably also 9.5)

TCA configuration:

'ctrl' => [
    'label' => 'mytime',
],
'columns' => [
    'mytime' => [
        'label' => 'mytime',
        'config' => [
            'type' => 'input',
            'renderType' => 'inputDateTime',
            'dbType' => 'time',
            'eval' => 'time,null',
        ],
    ],
]

Steps to reproduce

  1. Create a record with 01:03
  2. View records in the list module

Actual value

  • 17:03

Expected value

  • 01:03
  • (no timezone conversion should happen)
Actions

Also available in: Atom PDF