diff options
author | breadcat | 2020-08-18 12:05:43 +0100 |
---|---|---|
committer | breadcat | 2020-08-18 12:05:43 +0100 |
commit | 24e6753c3def9824665b017bb34d0827e249a884 (patch) | |
tree | 704edd5dc4b98522e9289150da6fa3d1f79d8eda | |
parent | 7d4e14c51f644915aba8202024279fb2e80a6e8d (diff) | |
download | ahka-24e6753c3def9824665b017bb34d0827e249a884.tar.gz ahka-24e6753c3def9824665b017bb34d0827e249a884.tar.bz2 ahka-24e6753c3def9824665b017bb34d0827e249a884.zip |
Hugo blog time format shortcode
-rw-r--r-- | ahk-assistant.ahk | 9 |
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%
|