Remove depencies of library common/dates : dateT

This commit is contained in:
Michael RICOIS 2013-10-31 15:21:10 +00:00
parent f41e99d4cb
commit f5c3535179

View File

@ -665,7 +665,7 @@ class SurveillanceController extends Zend_Controller_Action
$listeFichier = array();
foreach($tabFichier as $fichier){
$tabTmp = explode('_', $fichier);
$date = Wdate::dateT('Ymd','d/m/Y', substr($tabTmp[2],0,8));
$date = new Zend_Date(substr($tabTmp[2],0,8),'yyyyMMdd');
$localfile = $path.'/'.$fichier;
$dejaLu = false;
if (!file_exists($localfile)) {
@ -673,7 +673,7 @@ class SurveillanceController extends Zend_Controller_Action
}
$result = array(
'fichier' => $fichier,
'date' => $date,
'date' => $date->toString('dd/MM/yyyy'),
'dejaLu' => $dejaLu,
);
$listeFichier[] = $result;