RocketChat / RocketChat/Rocket.Chat

Date format difference in Persian LiveChat

Open
#30,538 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

subj: livechat
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I am using Persian language which has Jalali calendar.
On LiveChat widget on a PC browser, the date is shown in Jalali format which is correct as shown in the below image:

image

But the agents in the room conversation see the dates in Gregorian format as shown in the below image:

image

Expected behavior:

Agents must see the dates in room conversations in Jalali format.

Actual behavior:
Server Setup Information:
  • Version of Rocket.Chat Server: 6.4.0
  • Operating System: UBUNTU

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 discrepancy described in the issue using Persian language and the LiveChat widget, comparing the widget date with the room-conversation date. Trace the two date-rendering entry points and existing Jalali localization handling. Done means agents see room-conversation dates in Jalali format consistently with the widget.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.