fix for omnios-r151052

pull/6096/head
neil 1 week ago
parent 709f1e76d3
commit 4e0686f73c

@ -1628,6 +1628,11 @@ _time2str() {
return
fi
#Omnios
if date -u -r "$1" +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null; then
return
fi
#Solaris
if printf "%(%Y-%m-%dT%H:%M:%SZ)T\n" $1 2>/dev/null; then
return

Loading…
Cancel
Save