Add a snippet for timestamped journal entries
- ID
81aaf4f- date
2025-01-20 10:26:31+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
8d5ba4e- message
Add a snippet for timestamped journal entries- changed files
1 file, 4 additions
Changed files
create_snippets.py (7722) → create_snippets.py (7846)
diff --git a/create_snippets.py b/create_snippets.py
index a6fe9b3..279736f 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -29,6 +29,10 @@ SNIPPETS = {
# e.g. 2024-04-09 10:49:12 +0100
";dd": "{isodate:yyyy-MM-dd HH:mm:ss Z}",
+
+ # e.g. \[10:49]
+ # I use this for timestamped entries in my Obsidian journal
+ ";dt": r"\[{isodate:HH:mm}] ",
# =========================
# English words and phrases