Skip to content

Commit

Permalink
Merge branch 'release/v1.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiOnishi1129 committed Jan 3, 2025
2 parents 5757732 + d072019 commit b93100b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client-v2/src/lib/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const diffDates = (nowUnixTime: number, targetUnixTime: number) => {

export const showDiffDateToCurrentDate = (targetDateUnix: number) => {
const currentUnixTime = convertUnixTime(getDayjsTz());
const targetUnixTimeDay = convertUnixTimeToDayjs(currentUnixTime);
const targetUnixTimeDay = convertUnixTimeToDayjs(targetDateUnix);
const diffHour = diffHours(currentUnixTime, targetDateUnix);

if (diffHour < 24) {
Expand Down

0 comments on commit b93100b

Please sign in to comment.