mirror of
https://github.com/hiskang/acme.sh
synced 2025-06-28 01:56:12 +00:00
Added support for busybox in time2str()
awk fallback if none of preceding method works
This commit is contained in:
parent
90100aa169
commit
a07395fb56
4
acme.sh
4
acme.sh
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user