Fix: Pb in date management
This commit is contained in:
parent
6e60069403
commit
6577bdddea
@ -422,7 +422,7 @@ class Contact extends CommonObject
|
||||
$this->priv = $obj->priv;
|
||||
$this->mail = $obj->email;
|
||||
|
||||
$this->birthday = $obj->birthday;
|
||||
$this->birthday = dolibarr_stringtotime($obj->birthday);
|
||||
$this->birthday_alert = $obj->birthday_alert;
|
||||
$this->note = $obj->note;
|
||||
|
||||
|
||||
@ -451,8 +451,8 @@ function dolibarr_print_date($time,$format='',$to_gmt=false)
|
||||
|
||||
|
||||
/**
|
||||
* \brief Retourne une date fabrique depuis une chaine
|
||||
* \param string Date formate en chaine
|
||||
* \brief Convert a string date into a TMS date
|
||||
* \param string Date in a string
|
||||
* YYYYMMDD
|
||||
* YYYYMMDDHHMMSS
|
||||
* DD/MM/YY ou DD/MM/YYYY
|
||||
|
||||
Loading…
Reference in New Issue
Block a user