Skip to content

Bug 2055878 - Change the triage/bug due date calculation logic - #9698

Open
davidmiculit wants to merge 5 commits into
mozilla:masterfrom
davidmiculit:fix/due-date-clock-behavior
Open

Bug 2055878 - Change the triage/bug due date calculation logic#9698
davidmiculit wants to merge 5 commits into
mozilla:masterfrom
davidmiculit:fix/due-date-clock-behavior

Conversation

@davidmiculit

@davidmiculit davidmiculit commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Bug 2055878 - Change the triage/bug due date calculation logic

The current logic for calculating the time difference between the current time and the due date for triage/bugs has several flaws:

  • because the value is calculated as an absolute value, already due dates such as -3h show as "3h left" in the UI
  • overdue alerts only show as overdue after 24h since actually being overdue, also because of the absolute value
  • the overall logic is pretty rigid and omits some edge cases

Also, the clock tooltip now shows the actual due date alongside the remaining calculated time
Screenshot 2026-07-17 at 17 31 50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant