Skip to content

Commit

Permalink
fix for omnios-r151052
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Nov 14, 2024
1 parent 709f1e7 commit 4e0686f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e0686f

Please sign in to comment.