Merge pull request #589 from Neilpang/dev

add _utc_date function
This commit is contained in:
neil 2017-02-06 19:32:33 +08:00 committed by GitHub
commit d1190febec

View File

@ -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