Fix date in wrong timezone

This commit is contained in:
Laurent Destailleur 2024-06-20 20:17:42 +02:00
parent e3fb4e7d30
commit 95cb01aeac

View file

@ -1308,7 +1308,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $s;
print '</td>';
print '<td>';
print dol_print_date($companypaymentmodetemp->tms, 'dayhour');
print dol_print_date($companypaymentmodetemp->tms, 'dayhour', 'tzuserrel');
print '</td>';
// Fields from hook
$parameters = array('arrayfields' => array(), 'obj' => $obj, 'linetype' => 'stripecard');