diff --git a/module/blog/view/edit/edit.php b/module/blog/view/edit/edit.php index 3a7d7a5e..4c6be948 100755 --- a/module/blog/view/edit/edit.php +++ b/module/blog/view/edit/edit.php @@ -96,7 +96,7 @@ 'help' => 'L\'article n\'est visible qu\'après la date de publication prévue.', 'type' => 'datetime-local', 'label' => 'Publication', - 'value' => $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(2), 'publishedOn']) + 'value' => floor($this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(2), 'publishedOn']) / 60) * 60 ]); ?>