Bug #92962

Native time in record list is displayed in local timezone

Added by Imko Schumacher about 1 year ago. Updated 2 months ago.

Status:
Resolved
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)
#1

Updated by Imko Schumacher about 1 year ago

  • Subject changed from Native time (independent form tz) in record list is displayed in local timezone to Native time in record list is displayed in local timezone
#2

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66953

#3

Updated by Imko Schumacher about 1 year ago

  • Complexity set to easy
#4

Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66953

#5

Updated by Gerrit Code Review 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66953

#6

Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72113

#7

Updated by Imko Schumacher 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF