Skip to content

Commit 4e0686f

Browse files
author
neil
committed
fix for omnios-r151052
1 parent 709f1e7 commit 4e0686f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

acme.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,11 @@ _time2str() {
16281628
return
16291629
fi
16301630

1631+
#Omnios
1632+
if date -u -r "$1" +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null; then
1633+
return
1634+
fi
1635+
16311636
#Solaris
16321637
if printf "%(%Y-%m-%dT%H:%M:%SZ)T\n" $1 2>/dev/null; then
16331638
return

0 commit comments

Comments
 (0)