Skip to content

Commit

Permalink
#17
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusion committed Feb 15, 2018
1 parent 542ac1c commit 00ac448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daily/libs/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Util.prevDay = function (timestamp = (new Date()).getTime()) {
const day = date.getDate() < 10
? '0' + date.getDate()
: date.getDate();
return year + month + day;
return year + '' + month + '' + day;
};

// Ajax 通用配置
Expand Down

0 comments on commit 00ac448

Please sign in to comment.