RocketChat / RocketChat/Rocket.Chat.ReactNative

Misleading timestamp when quoting old messages

Open
#5,308 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🔍 triaged
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

When quoting old messages, the timestamp of the quote shows the time instead of the date. This is misleading and in contrast to what happens in the browser version.

Environment Information:
  • Rocket.Chat Server Version: 6.4.4
  • Rocket.Chat App Version: 4.42.0.50842
  • Device Name: ELE-L29 (Huawei P30)
  • OS Version: EMUI 12.0.0 (Android 11)
Steps to reproduce:
  1. Write a message quoting an old message.
Expected behavior:

The timestamp in the quote shows a date, just as in the browser:

image

Actual behavior:

The timestamp in the quote shows only the time of the day, leading to the impression that the quoted message was written less than 24h hours ago:

image

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

Start by reproducing the issue on Android with a quote of a message older than 24 hours, then locate the React Native component that renders quoted-message timestamps. Compare its output with the browser behavior described in the issue and verify that old quotes show a date rather than only a time.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.