We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542ac1c commit 00ac448Copy full SHA for 00ac448
daily/libs/util.js
@@ -25,7 +25,7 @@ Util.prevDay = function (timestamp = (new Date()).getTime()) {
25
const day = date.getDate() < 10
26
? '0' + date.getDate()
27
: date.getDate();
28
- return year + month + day;
+ return year + '' + month + '' + day;
29
};
30
31
// Ajax 通用配置
0 commit comments