Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1311 | Rev 1335 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1311 Rev 1326
Line 284... Line 284...
284
		return $cel;
284
		return $cel;
285
	}
285
	}
Line 286... Line 286...
286
 
286
 
287
	private function formaterDateImg($date) {
287
	private function formaterDateImg($date) {
288
		$dateFmt = $date;
288
		$dateFmt = $date;
289
		if ($date == '' || $date == null || $date == '0000-00-00' || $date == '1970-01-01 01:01:01') {
289
		if ($date == '' || $date == null || strpos($date, '0000-00-00') !== false || $date == '1970-01-01 01:01:01') {
290
			return 'inconnue';
290
			return 'inconnue';
291
		}
291
		}
292
		$time = strtotime($date);
292
		$time = strtotime($date);
293
		if(!$time) {
293
		if(!$time) {