Uniswap / Uniswap/interface

Incorrect Time Unit Displayed in Interface

Open
#7,700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

截屏2024-04-25 23 01 57 I've discovered a bug, as shown in the attached screenshot. The interface should display the time in minutes, but instead, it erroneously displays years.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the display shown in the attached screenshot and locate the interface component responsible for formatting this time value. Confirm the relevant value is rendered in minutes rather than years, then verify the corrected display in the affected interface.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.