mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Removed all now() and sysdate() database sql inline function by a date defined by PHP ($db->idate(mktime())).
This is to be more portable, to solve problem when database server time differs from PHP server and to prepare for TZ support.
This commit is contained in:
@@ -548,7 +548,7 @@ class DoliDb
|
||||
|
||||
/**
|
||||
\brief Formatage (par PHP) d'une date vers format texte pour insertion dans champ date.
|
||||
Fonction <20> utiliser pour g<>n<EFBFBD>rer les INSERT.
|
||||
Fonction <20> utiliser pour g<>n<EFBFBD>rer les INSERT ou UPDATE.
|
||||
\param param Date TMS <20> convertir
|
||||
\return date Date au format texte YYYYMMDDHHMMSS.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user