This commit is contained in:
Laurent Destailleur 2022-04-05 13:54:09 +02:00
parent 7c591d95d9
commit 9bf156b981

View File

@ -106,7 +106,7 @@ abstract class DoliDB implements Database
*/ */
public function idate($param, $gm = 'tzserver') public function idate($param, $gm = 'tzserver')
{ {
// TODO $param should be gmt, so we should add $gm to 'gmt' instead of default 'tzserver' // TODO $param should be gmt, so we should have default $gm to 'gmt' instead of default 'tzserver'
return dol_print_date($param, "%Y-%m-%d %H:%M:%S", $gm); return dol_print_date($param, "%Y-%m-%d %H:%M:%S", $gm);
} }