Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.0api'
Browse files Browse the repository at this point in the history
  • Loading branch information
richard1015 committed Mar 27, 2019
2 parents 4ee684f + 46ca70f commit e64f7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Page({
let array = res.Value;
for (let i = 0; i < array.length; i++) {
// console.log(array[i].publishDate)
let pushdate = array[i].publishDate.substr(0, 10);
let pushdate = array[i].updatedAt.substr(0, 10);
// console.log(pushdate)
pushdate = util.getLocalTime(0, new Date(pushdate));
if (pushdate == util.getLocalTime()) {
Expand Down

0 comments on commit e64f7b8

Please sign in to comment.