From 00a71e2c704053fcbc8dc19962c32b8e34534407 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 28 Feb 2013 14:58:25 +0000 Subject: [PATCH] Correction de la date dans les logs --- library/WsScore/Pieces/v0.1/Pieces.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/WsScore/Pieces/v0.1/Pieces.php b/library/WsScore/Pieces/v0.1/Pieces.php index 9ed4c8d9..658c1f9b 100644 --- a/library/WsScore/Pieces/v0.1/Pieces.php +++ b/library/WsScore/Pieces/v0.1/Pieces.php @@ -244,7 +244,7 @@ class Pieces extends WsScore $hostname.= ':'.$_SERVER['SERVER_PORT']; } $output = $hostname . '/fichier/associations/' . basename($dest); - $dateClotureD = substr($dateCloture,0,2).'/'.substr($dateCloture,2,2).'/'.substr($dateCloture,4,4); + $dateClotureD = substr($dateCloture,4,2).'/'.substr($dateCloture,6,2).'/'.substr($dateCloture,0,4); $this->wsLog('greffe_bilans', $identifiant, 'Bilan association au '.$dateClotureD); } }