From 62b8b7bd797470cd9d1198452cbd676fb71908d4 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 14 Sep 2003 08:20:23 +0000 Subject: [PATCH] Correction erreur de calcul --- htdocs/contrat/contrat.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/contrat/contrat.class.php b/htdocs/contrat/contrat.class.php index 87933354bd8..d0eb2e67721 100644 --- a/htdocs/contrat/contrat.class.php +++ b/htdocs/contrat/contrat.class.php @@ -49,7 +49,7 @@ class Contrat $duree_value = substr($duree,0,strlen($duree)-1); $duree_unit = substr($duree,-1); - $month = date("j",$date); + $month = date("m",$date); $day = date("d",$date); $year = date("Y",$date);