From f8c3b9ff5b21be4880f2cdb12e800f3c6fa5efd4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 16 Feb 2023 22:11:41 +0100 Subject: [PATCH] Fix trans of "d" --- htdocs/core/lib/date.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/date.lib.php b/htdocs/core/lib/date.lib.php index 03223a7b65a..28d9da85f61 100644 --- a/htdocs/core/lib/date.lib.php +++ b/htdocs/core/lib/date.lib.php @@ -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') {