Fix: date must be reported according to user timezone

Conflicts:
	htdocs/core/class/html.formfile.class.php
This commit is contained in:
Laurent Destailleur 2013-07-26 15:23:41 +02:00
parent 16d530b22d
commit d0af692ed5

View File

@ -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)
{