Skip to content

Wrong time format (hours) #5501

Duplicate
Duplicate

Description

@mirabilos

RocketChat/Rocket.Chat#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

Activity

  1. NiccoloCase commented on Mar 29, 2025

    @NiccoloCase

    Hi, I'd love to work on this issue!

    I've already created a fork and started a branch to address it: Fork Branch - 24HourTime. So far, I've fixed the time-related issues on the rooms screen.

    However, from what I can see in the code (as this is my first contribution), the date format in the messages seems to be handled inconsistently in different parts of the app. Specifically, it is set as Message_TimeFormat in some places, and the setting is provided by the server (I suppose).

    I will investigate further to see if there's anything specific I might have missed.

    Looking forward to proceeding with this.

  2. NiccoloCase commented on Apr 1, 2025

    @NiccoloCase

    Hi!
    Before proceeding, I’d like to confirm whether the issue I identified is valid. Could the repository maintainers provide their input? I’d appreciate confirmation before I contribute further.
    Thanks!

  3. diegolmello commented on Nov 26, 2026

    @diegolmello
    Member

    Thanks for the report. Showing times in 24-hour format on mobile is tracked in Time format option, which brings the 12/24-hour preference from web to the app, so I'm closing this as a duplicate; please add there if you also want the app to follow the device's 24-hour setting. Meanwhile, a workspace admin can set the Message_TimeFormat setting to a 24-hour format such as HH:mm.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions