summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbreadcat2020-08-18 12:05:43 +0100
committerbreadcat2020-08-18 12:05:43 +0100
commit24e6753c3def9824665b017bb34d0827e249a884 (patch)
tree704edd5dc4b98522e9289150da6fa3d1f79d8eda
parent7d4e14c51f644915aba8202024279fb2e80a6e8d (diff)
downloadahka-24e6753c3def9824665b017bb34d0827e249a884.tar.gz
ahka-24e6753c3def9824665b017bb34d0827e249a884.tar.bz2
ahka-24e6753c3def9824665b017bb34d0827e249a884.zip
Hugo blog time format shortcode
-rw-r--r--ahk-assistant.ahk9
1 files changed, 9 insertions, 0 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index 97fe046..6f778ab 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -300,6 +300,9 @@ Insert::appendClipboard()
:*?:_time::
insertTime()
Return
+:*?:_dttime::
+ insertBlogDateTime()
+ Return
:*?:_dtime::
insertDateTime()
Return
@@ -630,6 +633,12 @@ insertTime() {
Return
}
+insertBlogDateTime() {
+ FormatTime, CurrentDateTime,, yyyy-MM-ddTHH:mm:00
+ Send %CurrentDateTime%
+ Return
+ }
+
insertDateTime() {
FormatTime, CurrentDateTime,, yyyy-MM-dd HH:mm
Send %CurrentDateTime%