Fix: date must be reported according to user timezone
Conflicts: htdocs/core/class/html.formfile.class.php
This commit is contained in:
parent
16d530b22d
commit
d0af692ed5
@ -483,7 +483,7 @@ class FormFile
|
||||
|
||||
// Show file date
|
||||
$date=(! empty($file['date'])?$file['date']:dol_filemtime($filedir."/".$file["name"]));
|
||||
$out.= '<td align="right" nowrap="nowrap">'.dol_print_date($date, 'dayhour').'</td>';
|
||||
$out.= '<td align="right" nowrap="nowrap">'.dol_print_date($date, 'dayhour', 'tzuser').'</td>';
|
||||
|
||||
if ($delallowed)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user