X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/38db3f07c75080aee66486fe0dee7700b00685aa..a83d50d5a64488deb3796bbd0ca0a03b0516cc77:/.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";;