Fix: date must be reported according to user timezone
This commit is contained in:
parent
0dc7aa15d9
commit
f2f8d60f19
@ -509,7 +509,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)
|
if ($delallowed)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user