#28243Make timedifference of date input optional
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