Fix: date must be reported according to user timezone
This commit is contained in:
parent
de41e9e9c7
commit
e5de4c10ad
@ -518,7 +518,7 @@ class FormFile
|
|||||||
|
|
||||||
// Show file date
|
// Show file date
|
||||||
$date=(! empty($file['date'])?$file['date']:dol_filemtime($filedir."/".$file["name"]));
|
$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 || $printer || $morepicto)
|
if ($delallowed || $printer || $morepicto)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user