From b54e2df8464f65deac587b695e3164d8b27b3212 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 22 Apr 2023 15:31:24 +0200 Subject: [PATCH] use latest helper namespace --- src/Utils.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Utils.php b/src/Utils.php index 3ab8158..f04727a 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -15,6 +15,7 @@ declare(strict_types=1); namespace Dotclear\Plugin\pacKman; use dcCore; +use Dotclear\Helper\Date; use Dotclear\Helper\File\Files; use Dotclear\Helper\File\Path; use Dotclear\Helper\File\Zip\Unzip; @@ -31,8 +32,6 @@ use Dotclear\Helper\Html\Form\{ use Dotclear\Helper\Html\Html; use Exception; -use dt; - class Utils { public static function getPluginsPath(): string @@ -290,7 +289,7 @@ class Utils Html::escapeHTML(basename($module->get('root'))) . '' . '' . '' . - Html::escapeHTML(dt::str(__('%Y-%m-%d %H:%M'), (int) @filemtime($module->get('root')))) . + Html::escapeHTML(Date::str(__('%Y-%m-%d %H:%M'), (int) @filemtime($module->get('root')))) . '' . '';