mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-09-04 08:15:21 +00:00
fix for omnios-r151052
This commit is contained in:
5
acme.sh
5
acme.sh
@@ -1628,6 +1628,11 @@ _time2str() {
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#Omnios
|
||||||
|
if date -u -r "$1" +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
#Solaris
|
#Solaris
|
||||||
if printf "%(%Y-%m-%dT%H:%M:%SZ)T\n" $1 2>/dev/null; then
|
if printf "%(%Y-%m-%dT%H:%M:%SZ)T\n" $1 2>/dev/null; then
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user