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); } }