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 #1

Updated by Imko Schumacher almost 4 years 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
Actions #2

Updated by Gerrit Code Review almost 4 years 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

Actions #3

Updated by Imko Schumacher almost 4 years ago

  • Complexity set to easy
Actions #4

Updated by Gerrit Code Review about 3 years 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

Actions #5

Updated by Gerrit Code Review about 3 years 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

Actions #6

Updated by Gerrit Code Review about 3 years 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

Actions #7

Updated by Imko Schumacher about 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF