Remove depencies of library common/dates : dateT
This commit is contained in:
parent
f41e99d4cb
commit
f5c3535179
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user