327,8 → 327,9 |
$html = self::elude('<strong>Observations</strong> : ' . $obs['commentaire'], 4), |
$border = 'LR', $ln = 1, $fill = false, $reset = true, $align = 'L', $autopadding = true); |
|
// date |
$temps = strtotime($obs['date_observation']); |
// date, note: en 64 bits, strtotime() renvoi un entier négatif (!= FALSE) pour l'an 0 |
if(strncmp("0000", $obs['date_observation'], 4) == 0) $temps = false; |
else $temps = strtotime($obs['date_observation']); |
$this->pdf->writeHTMLCell($w = $width, '', '', '', |
$html = '<strong>Date de récolte</strong> : ' . ($temps ? strftime("%d/%m/%Y", $temps) : ' '), |
$border = 'LBR', $ln = 1, $fill = false, $reset = true, $align = 'R', $autopadding = true); |