Use Zend_Date
This commit is contained in:
parent
afe8216e5b
commit
abd55a972f
@ -224,10 +224,11 @@ class SurveillanceController extends Zend_Controller_Action
|
||||
$tooltipTexte = '';
|
||||
$ref = $surv->ref;
|
||||
$tooltipTexte.= "Ref : ".$ref;
|
||||
$tooltipTexte.= "<br/>Date d'ajout :".WDate::dateT('Y-m-d', 'd/m/Y', $surv->dateAjout);
|
||||
$dateAjout = new Zend_Date($surv->dateAjout, 'yyyy-MM-dd');
|
||||
$tooltipTexte.= "<br/>Date d'ajout :".$dateAjout->toString('dd/MM/yyyy');
|
||||
if ($surv->dateDerEnvoi!='0000-00-00 00:00:00') {
|
||||
$tooltipTexte.= "<br/>Date de dernier envoi : ".
|
||||
WDate::dateT('Y-m-d', 'd/m/Y', substr($surv->dateDerEnvoi,0,10));
|
||||
$date = new Zend_Date(substr($surv->dateDerEnvoi,0,10), 'yyyy-MM-dd');
|
||||
$tooltipTexte.= "<br/>Date de dernier envoi : ".$date->toString('dd/MM/yyyy');
|
||||
}
|
||||
$listSurv[] = array(
|
||||
'tooltipTexte' => $tooltipTexte,
|
||||
|
Loading…
Reference in New Issue
Block a user