Commit a07395fb authored by Michele's avatar Michele Committed by GitHub
Browse files

Added support for busybox in time2str()

awk fallback if none of preceding method works
parent 90100aa1
......@@ -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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment