2
0
mirror of https://github.com/acmesh-official/acme.sh synced 2025-08-30 13:58:33 +00:00

Merge pull request #973 from mvanini/master

Support for busybox in time2str()
This commit is contained in:
neil
2017-08-17 22:04:49 +08:00
committed by GitHub

View File

@@ -1367,6 +1367,10 @@ _time2str() {
echo "$_t_s_a" echo "$_t_s_a"
fi fi
#Busybox
if echo "$1" | awk '{ print strftime("%c", $0); }' 2>/dev/null; then
return
fi
} }
_normalizeJson() { _normalizeJson() {