diff --git a/htdocs/core/db/DoliDB.class.php b/htdocs/core/db/DoliDB.class.php index 64f84471e40..cf6b9001422 100644 --- a/htdocs/core/db/DoliDB.class.php +++ b/htdocs/core/db/DoliDB.class.php @@ -85,7 +85,7 @@ abstract class DoliDB implements Database * Function to use to build INSERT, UPDATE or WHERE predica * * @param int $param Date TMS to convert - * @return string Date in a string YYYYMMDDHHMMSS + * @return string Date in a string YYYY-MM-DD HH:MM:SS */ function idate($param) { diff --git a/htdocs/core/db/mssql.class.php b/htdocs/core/db/mssql.class.php index 79a0e212dfc..4734c3364b5 100644 --- a/htdocs/core/db/mssql.class.php +++ b/htdocs/core/db/mssql.class.php @@ -563,7 +563,7 @@ class DoliDBMssql extends DoliDB * Function to use to build INSERT, UPDATE or WHERE predica * * @param string $param Date TMS to convert - * @return string Date in a string YYYYMMDDHHMMSS + * @return string Date in a string YYYY-MM-DD HH:MM:SS */ function idate($param) { diff --git a/htdocs/core/db/pgsql.class.php b/htdocs/core/db/pgsql.class.php index 1ba8f183cbb..8e57b29109e 100644 --- a/htdocs/core/db/pgsql.class.php +++ b/htdocs/core/db/pgsql.class.php @@ -658,7 +658,7 @@ class DoliDBPgsql extends DoliDB * Function to use to build INSERT, UPDATE or WHERE predica * * @param string $param Date TMS to convert - * @return string Date in a string YYYYMMDDHHMMSS + * @return string Date in a string YYYY-MM-DD HH:MM:SS */ function idate($param) {