Open Bug 1859690 Opened 1 year ago Updated 1 year ago

Incorrect regional date displaying in Card & Table View (Showing Thailand date formatting but should show English)

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: rastarr, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Steps to reproduce:

This is a fresh installation of Thunderbird 115.3.2 (64-bit) on macOS

Actual results:

I live in Thailand. I am an English speaker. The Table/Card view wrongly shows dates using the Thai calendar yet everywhere else correctly shows Gregorian date formatting.

Thunderbird 'date and time formatting' is set to the application locale as English (US). macOS system is also set to English, Gregorian calendar.

I've already tried changing Thunderbird settings to 'regional English (Thailand) but no change.

Expected results:

The Table/Card view should show Gregorian time/date formatting

I'm not sure which you say is wrong.
BUT: note, that the Date to the right in your screenshot is just the raw header value (which you have enabled for some reason, maybe you have All Headers showing?).

(In reply to Magnus Melin [:mkmelin] from comment #1)

I'm not sure which you say is wrong.
BUT: note, that the Date to the right in your screenshot is just the raw header value (which you have enabled for some reason, maybe you have All Headers showing?).

The message list (table/card view) is wrong. It is wrongly showing Thailand date formatting and not English ( year 2023) formatting

That is set here: https://searchfox.org/comm-central/rev/8e2077fe734ac23ef97275bc93ca01869012e66b/mail/base/content/about3Pane.js#6289
But I don't see a problem.
Try this in the console: new Services.intl.DateTimeFormat(undefined, { dateStyle: "short", timeStyle: "short" }).format(new Date());

Summary: Incorrect regional date displaying in Card & Table View → Incorrect regional date displaying in Card & Table View (Showing Thailand date formatting but should show English)

(In reply to Magnus Melin [:mkmelin] from comment #3)

That is set here: https://searchfox.org/comm-central/rev/8e2077fe734ac23ef97275bc93ca01869012e66b/mail/base/content/about3Pane.js#6289
But I don't see a problem.
Try this in the console: new Services.intl.DateTimeFormat(undefined, { dateStyle: "short", timeStyle: "short" }).format(new Date());

I'm kind of new to the way Bugzilla works, sorry.
[1] Are you telling me you don't think I have a problem OR you don't see why the date is displaying incorrectly?
[2] I'm on macOS. Is your question about trying something in a console related to a Terminal session command?

I don't see a problem myself so unclear where the problem might be.

The command I suggested you try you should execute in the Error Console (or Developer Tools Console). See Tools | Developer Tools.

(In reply to Magnus Melin [:mkmelin] from comment #5)

I don't see a problem myself so unclear where the problem might be.

The command I suggested you try you should execute in the Error Console (or Developer Tools Console). See Tools | Developer Tools.

ahh ok, thanks for clarifying
the result of the error console is:-
"19/10/23 5:59 PM"

Is there any further information required to get a fix done for this or has this bugfix request now gone stale after 7 days of no activity?
I'm not sure how things work here

Unfortunately I don't know what info to ask for.
If you're a developer you might be able to figure out what goes wrong at https://searchfox.org/comm-central/rev/451150f82556f927edc20a47d2b5f6fb396aa341/mailnews/base/src/nsMsgDBView.cpp#531

I'm not a developer which is why I'm posting a bug here.
Can you please escalate/assign it to someone else then please?

Maybe it's a mac specific issue? Can you reproduce on other OS?

Flags: needinfo?(rastarr)

(In reply to Wayne Mery (:wsmwk) from comment #10)

Maybe it's a mac specific issue? Can you reproduce on other OS?

yes, maybe it is. a friend is running TB on nixOS and the date displays correctly for him

Flags: needinfo?(rastarr)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: