Project

General

Profile

Actions

Feature #28243

closed

Make timedifference of date input optional

Added by Christian Seifert almost 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
Start date:
2011-07-15
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

There is a hard coded timespan calculation on inputs of the type "date" in the record list of the TYPO3 backend. The function processing the calculation is called "getProcessedValue" and can be found in the file "class.t3lib_befunc.php".

Because of I don't want the TYPO3 backend to add this information I commented the calculation out as first "solution":

if (t3lib_div::inList($theColConf['eval'], 'date')) {
$l = self::date($value) /* .
' (' . ($GLOBALS['EXEC_TIME'] - $value > 0 ? '-' : '') . self::calcAge(abs($GLOBALS['EXEC_TIME'] - $value), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')) . ')'*/;
}

It would be nice, if the TYPO3 integrator could decide if he wants to provide the timespan between the given date und today.

In my case the customer only wants to get the date and no further difference.

Best regards
Christian


Files

date_difference.png (15.4 KB) date_difference.png Christian Seifert, 2011-07-15 17:02
Actions

Also available in: Atom PDF