Commit 5d2c5b01 authored by neilpang's avatar neilpang
Browse files

add _utc_date function

parent d6edff31
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment