Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b4999972
Commit
b4999972
authored
Apr 01, 2022
by
neilpang
Browse files
Update acme.sh
parent
de4c4eed
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
b4999972
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment