Update acme.sh

This commit is contained in:
neilpang 2022-04-01 21:58:29 +08:00
parent de4c4eedd8
commit b49999721c

View File

@ -1789,7 +1789,7 @@ _date2time() {
return
fi
#Mac/BSD
if date -u -j -f "%Y-%m-%d %H:%M:%S" "$(echo "$1" | tr -d "Z" | tr "T" ' ')" +"%s" 2>/dev/null; then
if date -u -j -f "%Y-%m-%d %H:%M:%S" "$(echo "$1" | tr -d "Z" | tr "T" ' ')" +"%s" 2>/dev/null; then
return
fi
_err "Can not parse _date2time $1"