Skip to content

Commit

Permalink
Merge pull request #217 from ShinYoung-Kim/develop
Browse files Browse the repository at this point in the history
feat: 트렌딩 조회 기간 되돌리기
  • Loading branch information
ShinYoung-Kim authored Jan 29, 2024
2 parents 5f8204f + 34d3460 commit 7b92451
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hooks/useCalculateDateDiff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ function convertUnixTimeToSpecificDateFormat(unixTIme: number) {
}

function getCurrentTime() {
const serviceStartedTime = dayjs("2023-10-05 00:00:00");
return serviceStartedTime.unix();
return dayjs().subtract(1, "month").unix();
}

function getMonthLaterTime() {
Expand Down

0 comments on commit 7b92451

Please sign in to comment.