what=$1
action=$2
-now=$(date "+%Y%m%d%H%M")
+zmodload -F zsh/datetime b:strftime
+now=$(strftime %Y%m%d%H%M)
[[ $what =~ / ]] && depth=1 || depth=${#${(s./.)what}}
snaps=$(zfs list -t snap -d $depth -o name -H | grep $what | sort -nr)
snaps=(${(f)snaps})