Browse Source

Update acme.sh

pull/4012/head
neilpang 3 years ago
parent
commit
b49999721c
  1. 2
      acme.sh

2
acme.sh

@ -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"

Loading…
Cancel
Save