- Edited
Let mods update the create and edit time of posts.
The time edit button is added underneath the post edit button.
The field uses the native datetime-local picker in browsers that support it (at the time of writing, Chrome/Edge/Opera). The field format in supported browser will match your browser/operating system language and country setting (the screenshot shows French formatting).
The time in the modal is UTC.
This extension was created during a Flarum live coding stream on the clark_writes_code YouTube channel. I release it because it might be useful to you, but there's no guarantee it will be kept updated. Feel free to fork it for your own purpose under the terms of the MIT license.
Installation
Use Bazaar or install manually with composer:
composer require clarkwinkelmann/flarum-ext-post-date
Updating
composer update clarkwinkelmann/flarum-ext-post-date