Bog edit date

This commit is contained in:
Fred Tempez 2023-02-18 09:11:23 +01:00
parent 9c2cea92b7
commit 32f70918b7

View File

@ -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
]); ?>
</div>
<div class="col4">