Bug #85002
open
Date displayed inconsistency in BE for translated dates
Added by Patrick Gaumond over 6 years ago.
Updated over 3 years ago.
Category:
Backend User Interface
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
Related issues
2 (2 open — 0 closed)
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']
.
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
- 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
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to New
- % Done changed from 100 to 0
It seems still present on 10.0.0-dev (latest master) - checked with the [lastUpdated]
field
the date is still displayed differently on 11.1.0-dev (latest master) - checked with the [lastUpdated] field
- Category set to Backend User Interface
- Related to Feature #91748: date format in backend is incorrect (German language) added
- Related to Bug #104192: Not possible to change date format to US format anymore added
Also available in: Atom
PDF