Project

General

Profile

Actions

Bug #49400

closed

Fix date format in BE user module - might be easier than it looks like

Added by Chris topher over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2013-06-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

The date format in the BE user module is not yet localized. Dates should use the format, which is set in $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'].

This affects the dates in the tables
  • "User list"
  • "Active sessions" and
  • "Compare Backend Users" (which you see after clicking the "Compare user list" button)

Dates are handled with one and the same variable at 5 places:

In Partials/BackendUser/IndexListRow.html
<f:format.date format="{dateFormat} {timeFormat}">{backendUser.lastLoginDateAndTime}</f:format.date>

In Partials/BackendUser/OnlineListRow.html with these lines:
<f:format.date format="{dateFormat} {timeFormat}">{session.timestamp}</f:format.date>

And in Templates\BackendUser\Compare.html
Line 85: <f:format.date format="{dateFormat} {timeFormat}">{compareUser.startDateAndTime}</f:format.date> Line 100: <f:format.date format="{dateFormat} {timeFormat}">{compareUser.endDateAndTime}</f:format.date> Line 115: <f:format.date format="{dateFormat} {timeFormat}">{compareUser.lastLoginDateAndTime}</f:format.date>

Proposed solution:

The variable {dateFormat} should take the value from $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'].


Files

Localized-dates.gif (16 KB) Localized-dates.gif Chris topher, 2013-06-26 21:59

Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Bug #49401: Fix localization of the language moduleClosed2013-06-25

Actions
Related to TYPO3 Core - Bug #49402: Fix localization of the BE user moduleClosed2013-06-25

Actions
Related to TYPO3 Core - Bug #49404: Fix one language label in the extension managerClosed2013-06-25

Actions
Related to TYPO3 Core - Feature #51844: Fix date-format in edit-view of a recordAcceptedJo Hasenau2013-09-09

Actions
Actions

Also available in: Atom PDF