Adding Dates to Frontmatter - script 3: date-adder-now.py

Introduction This script is designed to add the current date to the frontmatter of each markdown file in the /add-dates directory and then move the processed files to the /dates-added directory. It uses the datetime and os modules to accomplish this. Key Features Adds the current date in ISO format to the frontmatter of each .md file in the /add-dates directory. Moves the processed files to the /dates-added directory. Requirements Python 3 installed on your system....

<span title='2023-02-07 12:34:56 +0000 UTC'>February 7, 2023</span>&nbsp;·&nbsp;1 min

Adding a Set Date to the Frontmatter of Markdown Files

Introduction This script is designed to add a specific date to the frontmatter of markdown files. The user provides the date in the format dd/mm/yyyy and the script will convert it to the ISO format and add it to the frontmatter of each markdown file in the /add-dates directory. After the date is added, the file will be moved to the /dates-added directory. Unique Features What sets this script apart from the other date-adding scripts is its ability to allow the user to set a specific date for the frontmatter....

<span title='2023-02-07 00:00:00 +0000 UTC'>February 7, 2023</span>&nbsp;·&nbsp;2 min