1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-17 11:23:09 +00:00

add _utc_date function

This commit is contained in:
neilpang
2017-02-06 19:30:53 +08:00
parent d6edff3182
commit 5d2c5b01a8
+4
View File
@@ -1265,6 +1265,10 @@ _time() {
date -u "+%s"
}
_utc_date() {
date -u "+%Y-%m-%d %H:%M:%S"
}
_mktemp() {
if _exists mktemp; then
if mktemp 2>/dev/null; then