X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/38db3f07c75080aee66486fe0dee7700b00685aa..c734a415a3bcbdfde490557edf83d0c3158a107d:/.mutt/get-timestamp?ds=sidebyside diff --git a/.mutt/get-timestamp b/.mutt/get-timestamp index 18a7049..f165be6 100755 --- a/.mutt/get-timestamp +++ b/.mutt/get-timestamp @@ -21,6 +21,8 @@ case "$timespec" in ;; @[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]) date="$timespec";; + [0-9][0-9][0-9][0-9][-.][0-9][0-9][-.][0-9][0-9]) + date="$timespec";; *[0-9]y) date="now + ${timespec%y} years 00:00";; *[0-9]m) date="now + ${timespec%m} months 00:00";; *[0-9]w) date="now + ${timespec%w} weeks 00:00";;