diff --git a/htdocs/expensereport/class/paymentexpensereport.class.php b/htdocs/expensereport/class/paymentexpensereport.class.php index 342709d44be..c1907a0f13a 100644 --- a/htdocs/expensereport/class/paymentexpensereport.class.php +++ b/htdocs/expensereport/class/paymentexpensereport.class.php @@ -646,7 +646,7 @@ class PaymentExpenseReport extends CommonObject $label .= '
'.$langs->trans('Ref').': '.$this->ref; } if (!empty($this->datep)) { - $label .= '
'.$langs->trans('Date').': '.dol_print_date($this->datep, 'dayhour'); + $label .= '
'.$langs->trans('Date').': '.dol_print_date($this->db->jdate($this->datep), 'dayhour'); } if (!empty($this->id)) { diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index 73f66d7fb02..06a51b25194 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -2763,7 +2763,7 @@ class FactureFournisseur extends CommonInvoice $datas['label'] = '
'.$langs->trans('Label').': '.$this->label; } if (!empty($this->date)) { - $datas['date'] = '
'.$langs->trans('Date').': '.dol_print_date($this->date, 'day'); + $datas['date'] = '
'.$langs->trans('Date').': '.dol_print_date($this->db->jdate($this->date), 'day'); } if (!empty($this->date_echeance)) { $datas['date_echeance'] = '
'.$langs->trans('DateDue').': '.dol_print_date($this->date_echeance, 'day'); diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php index 1a90e971df3..2bb43af9628 100644 --- a/htdocs/fourn/class/paiementfourn.class.php +++ b/htdocs/fourn/class/paiementfourn.class.php @@ -683,7 +683,7 @@ class PaiementFourn extends Paiement $label .= ''.$langs->trans("Ref").': '.$text; $dateofpayment = ($this->datepaye ? $this->datepaye : $this->date); if ($dateofpayment) { - $label .= '
'.$langs->trans("Date").': '.dol_print_date($dateofpayment, 'dayhour', 'tzuser'); + $label .= '
'.$langs->trans("Date").': '.dol_print_date($this->db->jdate($dateofpayment), 'dayhour', 'tzuser'); } if ($this->amount) { $label .= '
'.$langs->trans("Amount").': '.price($this->amount, 0, $langs, 1, -1, -1, $conf->currency);