From 95cb01aeac7809e6edc68886e14f5491e2c9d39b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 20 Jun 2024 20:17:42 +0200 Subject: [PATCH] Fix date in wrong timezone --- htdocs/societe/paymentmodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index b221416eb5a..f8f220e73dd 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -1308,7 +1308,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard' print $s; print ''; print ''; - print dol_print_date($companypaymentmodetemp->tms, 'dayhour'); + print dol_print_date($companypaymentmodetemp->tms, 'dayhour', 'tzuserrel'); print ''; // Fields from hook $parameters = array('arrayfields' => array(), 'obj' => $obj, 'linetype' => 'stripecard');