Fix trans of "d"

This commit is contained in:
Laurent Destailleur 2023-02-16 22:11:41 +01:00
parent 065bbea70a
commit f8c3b9ff5b

View File

@ -285,7 +285,7 @@ function convertSecondToTime($iSecond, $format = 'all', $lengthOfDay = 86400, $l
if ($sDay > 1) {
$dayTranslate = $langs->trans("Days");
}
$sTime .= $sDay.' '.strtolower(dol_substr($dayTranslate, 0, 1)).'. ';
$sTime .= $sDay.' '.$langs->trans("d").' ';
}
if ($format == 'all') {