From db5713dd2b572d3efa067a44f2afa4ea3b931823 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 22 Apr 2023 13:54:55 +0200 Subject: [PATCH] use latest helper namespace --- src/Widgets.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Widgets.php b/src/Widgets.php index 2eb08c9..1a57809 100644 --- a/src/Widgets.php +++ b/src/Widgets.php @@ -17,12 +17,12 @@ namespace Dotclear\Plugin\lastpostsExtend; use dcBlog; use dcCore; use dcMeta; +use Dotclear\Helper\Date; use Dotclear\Helper\Text; use Dotclear\Helper\File\Path; use Dotclear\Helper\Html\Html; use Dotclear\Plugin\widgets\WidgetsStack; use Dotclear\Plugin\widgets\WidgetsElement; -use dt; class Widgets { @@ -317,11 +317,11 @@ class Widgets $res .= '
  • ' . '<' . ($published ? 'a href="' . $rs->getURL() . '"' : 'span') . ' title="' . - dt::dt2str( + Date::dt2str( dcCore::app()->blog->settings->get('system')->get('date_format'), $rs->f('post_upddt') ) . ', ' . - dt::dt2str( + Date::dt2str( dcCore::app()->blog->settings->get('system')->get('time_format'), $rs->f('post_upddt') ) . '">' .