Skip to content
Snippets Groups Projects
Commit f2f8d60f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: date must be reported according to user timezone

parent 0dc7aa15
No related branches found
No related tags found
No related merge requests found
......@@ -509,7 +509,7 @@ class FormFile
// Show file date
$date=(! empty($file['date'])?$file['date']:dol_filemtime($filedir."/".$file["name"]));
$out.= '<td align="right" class="nowrap">'.dol_print_date($date, 'dayhour').'</td>';
$out.= '<td align="right" class="nowrap">'.dol_print_date($date, 'dayhour', 'tzuser').'</td>';
if ($delallowed)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment