use Date helper

This commit is contained in:
Jean-Christian Paul Denis 2023-04-20 23:13:39 +02:00
parent 90da7d3053
commit 56478ae56e
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -17,9 +17,9 @@ namespace Dotclear\Plugin\dcLog;
use ArrayObject;
use adminGenericListV2;
use dcPager;
use Dotclear\Helper\Date;
use Dotclear\Helper\Html\Html;
use Dotclear\Helper\Html\Form\Checkbox;
use dt;
class BackendList extends adminGenericListV2
{
@ -80,7 +80,7 @@ class BackendList extends adminGenericListV2
(new Checkbox(['entries[]'], $checked))->value($this->rs->log_id)->render() .
'</td>',
'date' => '<td class="nowrap minimal">' .
Html::escapeHTML(dt::dt2str(
Html::escapeHTML(Date::dt2str(
__('%Y-%m-%d %H:%M'),
$this->rs->log_dt
)) .