X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/0898d5cf098dace711b1d991a90449eabb2e84c2..d10d0522d7b803b124771e0a2ea01e8ebce57006:/.mutt/add-tickle-stamp?ds=sidebyside diff --git a/.mutt/add-tickle-stamp b/.mutt/add-tickle-stamp index c712f61..715ceff 100755 --- a/.mutt/add-tickle-stamp +++ b/.mutt/add-tickle-stamp @@ -22,8 +22,10 @@ else case "$arg" in *[0-9]w) date="now + ${arg%w} weeks 00:00";; *[0-9]m) date="now + ${arg%m} months 00:00";; - *[0-9]h) date="now + ${arg%h} hours";; *[0-9]d) date="now + ${arg%d} days 00:00";; + *[0-9]h) date="now + ${arg%h} hours";; + @[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]) + date="@${arg#@}";; *' '*) date="$args";; *[!0-9]*) echo "E: invalid argument: $arg" >&2