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
a07395fb
Commit
a07395fb
authored
Aug 17, 2017
by
Michele
Committed by
GitHub
Aug 17, 2017
Browse files
Added support for busybox in time2str()
awk fallback if none of preceding method works
parent
90100aa1
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
a07395fb
...
...
@@ -1367,6 +1367,10 @@ _time2str() {
echo
"
$_t_s_a
"
fi
#Busybox
if
echo
"
$1
"
|
awk
'{ print strftime("%c", $0); }'
2>/dev/null
;
then
return
fi
}
_normalizeJson
()
{
...
...
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