fix: Bad dirthday displayed date (d-1) in the Bithday Widget

This commit is contained in:
Florian HENRY 2022-04-04 22:51:30 +02:00
parent 440b5350df
commit 1fec350ccc

View File

@ -119,7 +119,7 @@ class box_birthdays extends ModeleBoxes
$this->info_box_contents[$line][] = array( $this->info_box_contents[$line][] = array(
'td' => 'class="center nowraponall"', 'td' => 'class="center nowraponall"',
'text' => dol_print_date($dateb, "day", 'gmt').' - '.$age.' '.$langs->trans('DurationYears') 'text' => dol_print_date($dateb, "day").' - '.$age.' '.$langs->trans('DurationYears')
); );
/*$this->info_box_contents[$line][] = array( /*$this->info_box_contents[$line][] = array(