diff --git a/index.html b/index.html index c00e454..f07045b 100644 --- a/index.html +++ b/index.html @@ -167,9 +167,9 @@ result?.map(item => { if (moment(item.time).isAfter(nearlyWeekS)) { nearlyWeek.unshift(item); - } else if (moment(item.time).isAfter(nearlyWeekS)) { + } else if (moment(item.time).isAfter(nearlyMonthS)) { nearlyMonth = [...nearlyWeek]; - nearlyWeek.unshift(item); + nearlyMonth.unshift(item); } if (moment(item.time).isAfter(lastThreeMonthsS)) { lastThreeMonths = [...nearlyWeekS] lastThreeMonths.unshift(item);