Skip to content

Commit

Permalink
Merge pull request #41383 from Krishna2323/krishna2323/issue/40733
Browse files Browse the repository at this point in the history
fix: Status expiry time does not show correctly when hovering the user in the chat report
  • Loading branch information
youssef-lr authored May 3, 2024
2 parents 387ab0e + 8f4f082 commit a9cc15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/DateUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ function getStatusUntilDate(inputDate: string): string {
const now = new Date();
const endOfToday = endOfDay(now);

// If the date is equal to the end of today
if (isSameDay(input, endOfToday)) {
// If the date is adjusted to the following day
if (isSameSecond(input, endOfToday)) {
return translateLocal('statusPage.untilTomorrow');
}

Expand Down

0 comments on commit a9cc15b

Please sign in to comment.