RocketChat / RocketChat/Rocket.Chat.ReactNative

Wrong time format (hours)

Open
#5,501 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

https://github.com/RocketChat/Rocket.Chat/issues/31483 but actually applying to Android


Description:

version: 4.45.0.55377
device: SM-G398FN

It uses AM/PM like people across the pond despite the system being set up for 24-hour clock.
Steps to reproduce:

See the timestamp on a post

Expected behavior:

24-hour format like almost everywhere in the world
Actual behavior:

American format
Server Setup Information:

Version of Rocket.Chat Server: I have no idea
Operating System: I have no idea
Deployment Method: I have no idea
Number of Running Instances: I have no idea
DB Replicaset Oplog: I have no idea
NodeJS Version: I have no idea
MongoDB Version:I have no idea

Client Setup Information

Desktop App or Browser Version: not applicable
Operating System: Android

Additional context

n/a
Relevant logs:

not applicable

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

Reproduce the timestamp-on-a-post behavior in the Android app using Rocket.Chat version 4.45.0.55377 on a device configured for a 24-hour clock. Trace the Android timestamp formatting entry point and verify that displayed times follow the system preference rather than using AM/PM.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.