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; namespace Dotclear\Plugin\pacKman;
use dcCore; use dcCore;
use Dotclear\Helper\Date;
use Dotclear\Helper\File\Files; use Dotclear\Helper\File\Files;
use Dotclear\Helper\File\Path; use Dotclear\Helper\File\Path;
use Dotclear\Helper\File\Zip\Unzip; use Dotclear\Helper\File\Zip\Unzip;
@ -31,8 +32,6 @@ use Dotclear\Helper\Html\Form\{
use Dotclear\Helper\Html\Html; use Dotclear\Helper\Html\Html;
use Exception; use Exception;
use dt;
class Utils class Utils
{ {
public static function getPluginsPath(): string public static function getPluginsPath(): string
@ -290,7 +289,7 @@ class Utils
Html::escapeHTML(basename($module->get('root'))) . '</a>' . Html::escapeHTML(basename($module->get('root'))) . '</a>' .
'</td>' . '</td>' .
'<td class="nowrap">' . '<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>' . '</td>' .
'</tr>'; '</tr>';