Repair time format

line120
This commit is contained in:
Bob Lu 2019-02-03 21:40:45 +08:00 committed by GitHub
parent 55e862a4a4
commit b534b15e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ _ali_urlencode() {
_ali_nonce() {
#_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31
#Not so good...
date +"%s%N"
date -u +"%Y-%m-%dT%H%%3A%M%%3A%SZ"
}
_check_exist_query() {