Commit d1190feb authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #589 from Neilpang/dev

add _utc_date function
parents 0f954c20 5d2c5b01
...@@ -1265,6 +1265,10 @@ _time() { ...@@ -1265,6 +1265,10 @@ _time() {
date -u "+%s" date -u "+%s"
} }
_utc_date() {
date -u "+%Y-%m-%d %H:%M:%S"
}
_mktemp() { _mktemp() {
if _exists mktemp; then if _exists mktemp; then
if mktemp 2>/dev/null; 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