From 56478ae56eae72fc7f91ea45902230a377166593 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 20 Apr 2023 23:13:39 +0200 Subject: [PATCH] use Date helper --- src/BackendList.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BackendList.php b/src/BackendList.php index ea89719..5895194 100644 --- a/src/BackendList.php +++ b/src/BackendList.php @@ -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() . '', 'date' => '' . - Html::escapeHTML(dt::dt2str( + Html::escapeHTML(Date::dt2str( __('%Y-%m-%d %H:%M'), $this->rs->log_dt )) .