diff --git a/src/ManageList.php b/src/ManageList.php
index 2ab6bdf..a97ee81 100644
--- a/src/ManageList.php
+++ b/src/ManageList.php
@@ -22,9 +22,9 @@ use dcAuth;
use dcBlog;
use dcCore;
use dcPager;
+use Dotclear\Helper\Date;
use Dotclear\Helper\Html\Form\Checkbox;
use Dotclear\Helper\Html\Html;
-use dt;
/**
* @ingroup DC_PLUGIN_PERIODICAL
@@ -102,11 +102,11 @@ class ManageList extends adminGenericList
$cols = new ArrayObject([
'check' => '
' . (new Checkbox(['periods[]'], $checked))->value($this->rs->f('periodical_id'))->render() . ' | ',
'name' => '' . $name . ' | ',
- 'curdt' => '' . dt::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('periodical_curdt'), dcCore::app()->auth->getInfo('user_tz')) . ' | ',
+ 'curdt' => '' . Date::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('periodical_curdt'), dcCore::app()->auth->getInfo('user_tz')) . ' | ',
'pub_int' => '' . $interval . ' | ',
'pub_nb' => '' . $this->rs->f('periodical_pub_nb') . ' | ',
'nbposts' => '' . $posts . ' | ',
- 'enddt' => '' . dt::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('periodical_enddt'), dcCore::app()->auth->getInfo('user_tz')) . ' | ',
+ 'enddt' => '' . Date::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('periodical_enddt'), dcCore::app()->auth->getInfo('user_tz')) . ' | ',
]);
$this->userColumns(My::id(), $cols);
@@ -242,11 +242,11 @@ class ManageList extends adminGenericList
'check' => '' . (new Checkbox(['periodical_entries[]'], $checked))->value($this->rs->f('post_id'))->render() . ' | ',
'title' => 'rs->getURL()) . '">' . Html::escapeHTML($this->rs->post_title) . ' | ',
- 'date' => '' . dt::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('post_dt')) . ' | ',
+ 'date' => '' . Date::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('post_dt')) . ' | ',
'category' => '' . $cat_title . ' | ',
'author' => '' . $this->rs->f('user_id') . ' | ',
'status' => '' . $img_status . ' ' . $selected . ' ' . $protected . ' ' . $attach . ' | ',
- 'create' => '' . dt::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('post_creadt'), dcCore::app()->auth->getInfo('user_tz')) . ' | ',
+ 'create' => '' . Date::dt2str(__('%Y-%m-%d %H:%M'), $this->rs->f('post_creadt'), dcCore::app()->auth->getInfo('user_tz')) . ' | ',
];
return '' . implode($cols) . '
';