use Date helper
This commit is contained in:
parent
90da7d3053
commit
56478ae56e
@ -17,9 +17,9 @@ namespace Dotclear\Plugin\dcLog;
|
|||||||
use ArrayObject;
|
use ArrayObject;
|
||||||
use adminGenericListV2;
|
use adminGenericListV2;
|
||||||
use dcPager;
|
use dcPager;
|
||||||
|
use Dotclear\Helper\Date;
|
||||||
use Dotclear\Helper\Html\Html;
|
use Dotclear\Helper\Html\Html;
|
||||||
use Dotclear\Helper\Html\Form\Checkbox;
|
use Dotclear\Helper\Html\Form\Checkbox;
|
||||||
use dt;
|
|
||||||
|
|
||||||
class BackendList extends adminGenericListV2
|
class BackendList extends adminGenericListV2
|
||||||
{
|
{
|
||||||
@ -80,7 +80,7 @@ class BackendList extends adminGenericListV2
|
|||||||
(new Checkbox(['entries[]'], $checked))->value($this->rs->log_id)->render() .
|
(new Checkbox(['entries[]'], $checked))->value($this->rs->log_id)->render() .
|
||||||
'</td>',
|
'</td>',
|
||||||
'date' => '<td class="nowrap minimal">' .
|
'date' => '<td class="nowrap minimal">' .
|
||||||
Html::escapeHTML(dt::dt2str(
|
Html::escapeHTML(Date::dt2str(
|
||||||
__('%Y-%m-%d %H:%M'),
|
__('%Y-%m-%d %H:%M'),
|
||||||
$this->rs->log_dt
|
$this->rs->log_dt
|
||||||
)) .
|
)) .
|
||||||
|
Loading…
Reference in New Issue
Block a user