mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-09-04 00:05:35 +00:00
12
acme.sh
12
acme.sh
@@ -1374,17 +1374,17 @@ _url_replace() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_time2str() {
|
_time2str() {
|
||||||
#Linux
|
|
||||||
if date -u -d@"$1" 2>/dev/null; then
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
#BSD
|
#BSD
|
||||||
if date -u -r "$1" 2>/dev/null; then
|
if date -u -r "$1" 2>/dev/null; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Soaris
|
#Linux
|
||||||
|
if date -u -d@"$1" 2>/dev/null; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
#Solaris
|
||||||
if _exists adb; then
|
if _exists adb; then
|
||||||
_t_s_a=$(echo "0t${1}=Y" | adb)
|
_t_s_a=$(echo "0t${1}=Y" | adb)
|
||||||
echo "$_t_s_a"
|
echo "$_t_s_a"
|
||||||
|
Reference in New Issue
Block a user