Skip to main content

Switch the ‘;dd’ snippet to include timezone as +00:00, not +0000

ID
c0088df
date
2026-02-04 21:33:22+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
0b18efb
message
Switch the ';dd' snippet to include timezone as +00:00, not +0000

This makes it a timestamp that the YAML parser in alexwlchan.net can
understand.
changed files
1 file, 2 additions, 2 deletions

Changed files

create_snippets.py (8336) → create_snippets.py (8339)

diff --git a/create_snippets.py b/create_snippets.py
index ec9fb3e..92dcb43 100755
--- a/create_snippets.py
+++ b/create_snippets.py
@@ -26,8 +26,8 @@ SNIPPETS = {
     # short, e.g. 2024-04-09
     ";ds": "{isodate:yyyy-MM-dd}",
 
-    # e.g. 2024-04-09 10:49:12 +0100
-    ";dd": "{isodate:yyyy-MM-dd HH:mm:ss Z}",
+    # e.g. 2024-04-09 10:49:12 +01:00
+    ";dd": "{isodate:yyyy-MM-dd HH:mm:ss xxx}",
 
     # e.g. \[10:49]
     # I use this for timestamped entries in my Obsidian journal