diff --git a/library/Scores/SessionCiblage.php b/library/Scores/SessionCiblage.php index 724b1c24..0c04696e 100644 --- a/library/Scores/SessionCiblage.php +++ b/library/Scores/SessionCiblage.php @@ -1,4 +1,5 @@ criteres)) { - $this->valeur[$key] = $value; + switch($key) { + case 'dateCrea_etab': + case 'dateCrea_ent': + case 'dateImmat': + $Date = new WDate(); + $this->valeur[$key] = $Date->dateT('d/m/Y', 'Ymd', $value); + break; + default: + $this->valeur[$key] = $value; + break; + } + $this->setSession(); } }