strftime is deprecated in php8.1
This commit is contained in:
parent
3869354a17
commit
edef39bed9
@ -766,8 +766,8 @@ class BonPrelevement extends CommonObject
|
|||||||
$datetimeprev = $executiondate;
|
$datetimeprev = $executiondate;
|
||||||
}
|
}
|
||||||
|
|
||||||
$month = strftime("%m", $datetimeprev);
|
$month = date("%m", $datetimeprev);
|
||||||
$year = strftime("%Y", $datetimeprev);
|
$year = date("%Y", $datetimeprev);
|
||||||
|
|
||||||
$this->invoice_in_error = array();
|
$this->invoice_in_error = array();
|
||||||
$this->thirdparty_in_error = array();
|
$this->thirdparty_in_error = array();
|
||||||
@ -1746,8 +1746,8 @@ class BonPrelevement extends CommonObject
|
|||||||
// Date d'echeance C1
|
// Date d'echeance C1
|
||||||
|
|
||||||
fputs($this->file, " ");
|
fputs($this->file, " ");
|
||||||
fputs($this->file, strftime("%d%m", $this->date_echeance));
|
fputs($this->file, date("%d%m", $this->date_echeance));
|
||||||
fputs($this->file, substr(strftime("%y", $this->date_echeance), 1));
|
fputs($this->file, substr(date("%y", $this->date_echeance), 1));
|
||||||
|
|
||||||
// Raison Sociale Destinataire C2
|
// Raison Sociale Destinataire C2
|
||||||
|
|
||||||
@ -1972,8 +1972,8 @@ class BonPrelevement extends CommonObject
|
|||||||
// Date d'echeance C1
|
// Date d'echeance C1
|
||||||
|
|
||||||
fputs($this->file, " ");
|
fputs($this->file, " ");
|
||||||
fputs($this->file, strftime("%d%m", $this->date_echeance));
|
fputs($this->file, date("%d%m", $this->date_echeance));
|
||||||
fputs($this->file, substr(strftime("%y", $this->date_echeance), 1));
|
fputs($this->file, substr(date("%y", $this->date_echeance), 1));
|
||||||
|
|
||||||
// Raison Sociale C2
|
// Raison Sociale C2
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user