summaryrefslogtreecommitdiff
path: root/views/editor.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-01-15 09:41:26 -0800
committerAaron Parecki <aaron@parecki.com>2017-01-15 09:41:26 -0800
commit8aa73596e81208a97ba7442833ab94aebed66338 (patch)
tree42eca0b2001f8fa5e052bb61bc777730b769e4a2 /views/editor.php
parent3b5e3df19e6e1c000c5c50c4ff79069c1a74e755 (diff)
add publish date field to editor
allows backdating and future-dating posts
Diffstat (limited to 'views/editor.php')
-rw-r--r--views/editor.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/editor.php b/views/editor.php
index 5ab9442..be45a07 100644
--- a/views/editor.php
+++ b/views/editor.php
@@ -90,6 +90,10 @@
<a href="/docs/post-status" class="small hidden" target="_blank" id="published-status-warning">read this first!</a>
</td>
</tr>
+ <tr>
+ <td>Publish:</td>
+ <td><input type="text" class="form-field-small" id="post-publish-date" value="now" placeholder="YYYY-MM-DD hh:mm:ss"></td>
+ </tr>
</table>