Bug #15737 ยป correct_negativeAge_2006-02-28.diff
typo3_src-4.0beta3.agemod/typo3/sysext/cms/tslib/class.tslib_content.php 2006-02-28 07:18:42.431219344 +0100 | ||
---|---|---|
}
|
||
$labelArr = explode('|',$labels);
|
||
if ($seconds<3600) {
|
||
$abs = abs($seconds);
|
||
if ($abs<3600) {
|
||
$seconds = round ($seconds/60).$labelArr[0];
|
||
} elseif ($seconds<24*3600) {
|
||
} elseif ($abs<24*3600) {
|
||
$seconds = round ($seconds/3600).$labelArr[1];
|
||
} elseif ($seconds<365*24*3600) {
|
||
} elseif ($abs<365*24*3600) {
|
||
$seconds = round ($seconds/(24*3600)).$labelArr[2];
|
||
} else {
|
||
$seconds = round ($seconds/(365*24*3600)).$labelArr[3];
|