Skip to content

Commit 00ac448

Browse files
committed
1 parent 542ac1c commit 00ac448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daily/libs/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Util.prevDay = function (timestamp = (new Date()).getTime()) {
2525
const day = date.getDate() < 10
2626
? '0' + date.getDate()
2727
: date.getDate();
28-
return year + month + day;
28+
return year + '' + month + '' + day;
2929
};
3030

3131
// Ajax 通用配置

0 commit comments

Comments
 (0)