Project

General

Profile

Actions

Bug #16793

closed

Date formatting should use Typo3 default settings and be configurable

Added by Andreas Kastl over 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Indexed Search
Target version:
-
Start date:
2006-12-17
Due date:
% Done:

0%

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

Description

Search results contain information about create and modify timestamp. Format is currently hardcoded. Format pattern should be configurable via TS (e.g. modify with or without H:i) and respect users language settings (e.g. german format is d.m.Y, english format can be m.d.Y).

Minimum requirement is that date format follows Typo3 default settings from /typo3conf/localconf.php:

$TYPO3_CONF_VARS['SYS']['ddmmyy'] = <format pattern>

Following code lines are affected (CSV 1795):

2070 $tmplArray['created'] = date('d-m-y',$row['item_crdate']);
2071 $tmplArray['modified'] = date('d-m-y H:i',$row['item_mtime']);
(issue imported from #M4666)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #16535: Format of created and modified date hardcoded in classClosedMichael Stucki2006-09-07

Actions
Actions #1

Updated by Andreas Wagner about 17 years ago

This bug is a duplicate of #4169.

Actions #2

Updated by Michael Stucki about 17 years ago

Thanks Andreas. I didn't look at your patch from there, but I already fixed it on my own. See RFC here: http://lists.netfielders.de/pipermail/typo3-team-core/2007-January/006815.html

Actions #3

Updated by Michael Stucki about 17 years ago

Fixed in 4.1

Actions

Also available in: Atom PDF