Closed Bug 1913890 Opened 6 months ago Closed 6 months ago

intl.date_time.pattern_override.date_short returns broken date

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: github, Unassigned)

Details

Steps to reproduce:

try {
lockPref("intl.date_time.pattern_override.date_short", "yyyy-MM-DD");
lockPref("intl.date_time.pattern_override.time_short", "HH:mm");
} catch(e) {
displayError("TB-Time-pattern", "Time");
throw(e);
}

Actual results:

Real data in mail:
Date: Mon, 19 Aug 2024 17:56:30 +0200 (CEST)

Date displayed:
2024-08-232, 17:56

The displayed date (232) is wrong.

Expected results:

Date displayed:
2024-08-19, 17:56

DD isn't "day of year"? Should you be using dd?

(In reply to Francesco from comment #1)

DD isn't "day of year"? Should you be using dd?

Correct.

Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.