Margaret-Petersen / Margaret-Petersen/uber-eats-clone-using-react-native
Enatega Customer Application : In restaurant reviews ,Displaying "0 days ago" for recent reviews can appear awkward and may confuse users
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Displaying "0 days ago" for recent reviews can appear awkward and may confuse users. To enhance clarity and provide a more intuitive user experience, consider implementing a dynamic time display that adjusts based on the elapsed time since the review was posted.
Image
Describe the solution you'd like
Dynamic Time Display Format:
Less than 1 minute ago: Display "Just now".
1 to 59 minutes ago: Display "X minutes ago".
1 to 23 hours ago: Display "X hours ago".
1 to 29 days ago: Display "X days ago".
1 to 11 months ago: Display "X months ago
Example Logic:
If the review was posted less than a minute ago, display "Just now".
If the review was posted between 1 and 59 minutes ago, display "X minutes ago".
If the review was posted between 1 and 23 hours ago, display "X hours ago".
If the review was posted between 1 and 29 days ago, display "X days ago".
If the review was posted between 1 and 11 months ago, display "X months ago".
If the review was posted one year or more ago, display "X years ago".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the customer application for the restaurant review date display and identify where the current "0 days ago" text is produced. Review the existing time-formatting behavior, then verify the requested minute, hour, day, month, and year labels in the review UI. Done means recent reviews no longer display "0 days ago" and each stated range uses the requested wording.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100