This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# python3 convert_markdown_files_to_drafts.py <directory> > DraftsExport.draftsExport | |
import os, time | |
import json | |
import uuid | |
import sys | |
from datetime import datetime, timezone | |
output_datetime_format = '%Y-%m-%dT%H:%M:%S%Z' |