Action
Insert Creation Date and Time (Second Line)
Posted by Martin Schuhmann,
Last update
about 13 hours ago
Insert Creation Date and Time (Second Line)
Insert the creation date and time into the second line of a draft.
For more information, please visit:
https://docs.getdrafts.com/docs/actions/templates/drafts-templates
Steps
-
script
// Insert Creation Date and Time (Second Line) // Created by Martin Schuhmann // Insert the creation date and time into the second line of a draft let newContent = draft.processTemplate(`[[title]] [[created|%d %b %Y %H:%M:%S]] [[body]]`) draft.content = newContent draft.update()
Options
-
After Success Nothing Notification None Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.