use latest helper namespace

This commit is contained in:
Jean-Christian Paul Denis 2023-04-22 15:31:24 +02:00
parent e37ab45b7e
commit b54e2df846
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -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'))) . '</a>' .
'</td>' .
'<td class="nowrap">' .
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')))) .
'</td>' .
'</tr>';