Project

General

Profile

Actions

Bug #85002

open

Date displayed inconsistency in BE for translated dates

Added by Patrick Gaumond almost 6 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-05-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Datetime, Backend
Complexity:
Is Regression:
Sprint Focus:

Description

Under TYPO3 8 LTS in BE, datetime display for translated pages doesn't follow the same one as everywhere in BE.

Datetime are all in hh:mm dd-mm-yyyy except when translating, the "original" date has dd-mm-yy hh:mm format. The one surrounded by class="t3-form-original-language" has time after date.

See image included for Page example.


Files

LastUpdatedTYPO38LTS.gif (3.34 KB) LastUpdatedTYPO38LTS.gif Patrick Gaumond, 2018-05-14 15:51
Actions #1

Updated by Mathias Brodala almost 6 years ago

Technical background:

  • datetime fields (InputDateTimeElement) use AbstractFormElement::formatValue() with a hardcoded format of H:i d-m-Y.
  • default/source value display in translations (OtherLanguageContent) uses BackendUtility::getProcessedValue() and BackendUtility::datetime() with $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] and $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'].
Actions #2

Updated by Gerrit Code Review almost 6 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/57041

Actions #3

Updated by Gerrit Code Review almost 6 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/57041

Actions #4

Updated by Georg Ringer almost 6 years ago

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

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57087

Actions #6

Updated by Markus Klein almost 6 years ago

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

The fix above only streamlines the API usage but does not change the behaviour

Actions #7

Updated by Georg Ringer almost 6 years ago

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

Updated by Markus Klein almost 6 years ago

  • Status changed from Resolved to New
  • % Done changed from 100 to 0
Actions #9

Updated by Riccardo De Contardi about 5 years ago

It seems still present on 10.0.0-dev (latest master) - checked with the [lastUpdated] field

Actions #10

Updated by Riccardo De Contardi over 3 years ago

the date is still displayed differently on 11.1.0-dev (latest master) - checked with the [lastUpdated] field

Actions #11

Updated by Riccardo De Contardi over 3 years ago

  • Category set to Backend User Interface
Actions

Also available in: Atom PDF