From 36950aab548d7747be5fb624cd4600396a9986c0 Mon Sep 17 00:00:00 2001 From: chankalan Date: Tue, 1 Feb 2022 17:14:13 +0100 Subject: [PATCH] le 1er = 01 dans la date --- libreavous_fonctions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libreavous_fonctions.php b/libreavous_fonctions.php index fae9998..db23807 100644 --- a/libreavous_fonctions.php +++ b/libreavous_fonctions.php @@ -82,5 +82,8 @@ function libreavous_aveczerod($chaine) { if (strlen($chaine) == '1') { $chaineaveczero = '0'.$chaine; } + if ($chaine == '1er') { + $chaineaveczero = '01'; + } return $chaineaveczero; }