summary refs log tree commit diff
path: root/md2saait/getdate
diff options
context:
space:
mode:
Diffstat (limited to 'md2saait/getdate')
-rwxr-xr-xmd2saait/getdate4
1 files changed, 4 insertions, 0 deletions
diff --git a/md2saait/getdate b/md2saait/getdate
new file mode 100755
index 0000000..280d5cc
--- /dev/null
+++ b/md2saait/getdate
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+frontmatter2cfg $1 | grep created | \
+  cut -d' ' -f 3 | cut -c 2- | rev | cut -c 2- | rev