mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
Update acme.sh
This commit is contained in:
parent
de4c4eedd8
commit
b49999721c
2
acme.sh
2
acme.sh
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user