Browse Source

Added support for busybox in time2str()

awk fallback if none of preceding method works
pull/973/head
Michele 7 years ago
committed by GitHub
parent
commit
a07395fb56
  1. 4
      acme.sh

4
acme.sh

@ -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() {

Loading…
Cancel
Save