I think if you add this to the admin/views/phocacommanderfilesa/view.json.php
Code: Select all
use Joomla\CMS\HTML\HTMLHelper;
Code: Select all
$o .= '<td class="ph-date">'.date('Y-m-d H:i', $v['date']).'</td>';
Code: Select all
$o .= '<td class="ph-date">'.HTMLHelper::date($v['date'],'Y-m-d H:i:s').'</td>';
Hope I'm not wrong. Seems to work for me.