Commit b4999972 authored by neilpang's avatar neilpang
Browse files

Update acme.sh

parent de4c4eed
...@@ -1789,7 +1789,7 @@ _date2time() { ...@@ -1789,7 +1789,7 @@ _date2time() {
return return
fi fi
#Mac/BSD #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 return
fi fi
_err "Can not parse _date2time $1" _err "Can not parse _date2time $1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment