We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05f3370 + e22593b commit e2cecaeCopy full SHA for e2cecae
assets/bootstrap/js/httpclient/httpclient.js
@@ -11,7 +11,7 @@ function GenerateAuthorization(path, method, params) {
11
12
let date = new Date();
13
let datetime = date.getFullYear() + "-" // "年"
14
- + ((date.getMonth() + 1) > 10 ? (date.getMonth() + 1) : "0" + (date.getMonth() + 1)) + "-" // "月"
+ + ((date.getMonth() + 1) >= 10 ? (date.getMonth() + 1) : "0" + (date.getMonth() + 1)) + "-" // "月"
15
+ (date.getDate() < 10 ? "0" + date.getDate() : date.getDate()) + " " // "日"
16
+ (date.getHours() < 10 ? "0" + date.getHours() : date.getHours()) + ":" // "小时"
17
+ (date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes()) + ":" // "分钟"
0 commit comments