From d0af692ed58153954aba0aa010259f81c3695c88 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 26 Jul 2013 15:23:41 +0200 Subject: [PATCH] Fix: date must be reported according to user timezone Conflicts: htdocs/core/class/html.formfile.class.php --- htdocs/core/class/html.formfile.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 78b83a927cd..05e1e32a409 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -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) { -- GitLab