/trunk/jrest/services/Cel.php |
---|
341,8 → 341,13 |
return $etre_null; |
} |
protected function formaterDate($date, $format = '%A %d %B %Y à %H:%M') { |
return strftime($format, strtotime($date)); |
protected function formaterDate($date_heure_mysql, $format = '%A %d %B %Y à %H:%M') { |
$date_formatee = ''; |
if (!$this->etreNull($date_heure_mysql)) { |
$timestamp = $this->convertirDateHeureMysqlEnTimestamp($date_heure_mysql); |
$date_formatee = strftime($format, $timestamp); |
} |
return $date_formatee; |
} |
protected function encoderMotCle($mot_cle) { |