From f2f8d60f195153a230c098e3e24392dddd48576f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 26 Jul 2013 14:49:46 +0200 Subject: [PATCH] Fix: date must be reported according to user timezone --- 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 992f5c51fdd..7a08a1ca77a 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -509,7 +509,7 @@ class FormFile // Show file date $date=(! empty($file['date'])?$file['date']:dol_filemtime($filedir."/".$file["name"])); - $out.= ''.dol_print_date($date, 'dayhour').''; + $out.= ''.dol_print_date($date, 'dayhour', 'tzuser').''; if ($delallowed) {