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