Closed Bug 1671532 Opened 4 years ago Closed 4 years ago

Build busted by bug 1669573 changes to date formatting

Categories

(Thunderbird :: Upstream Synchronization, defect)

defect

Tracking

(thunderbird_esr78 unaffected, thunderbird82 unaffected)

RESOLVED FIXED
83 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird82 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: leave-open, regression)

Attachments

(1 file)

Bug 1669573 renamed a bunch of enums that we have in our code. Porting that change is fine.

It also removed the kDateFormatWeekday option, which our code uses if the user sets a pref, and is presumably used by some users. (Setting the pref to this value displays mail that arrived in the last week as "Tue, 12:34 pm" rather than "16/10/2020, 12:34 pm" or whatever the default is in your locale.)

I'm going to change our code so that it compiles by removing the option to format with the day name, but we might want to reinstate it somehow.

This kills the option to set mail.ui.display.dateformat.thisweek = 4.

Ah! I'm so sorry for not flagging you in that bug prior to landing.

We're going to clean up the DateTimeFormat class but we do want to bring actually more functionality, not less.

In particular, the aim is to restore ability for users to specify their own pattern overrides via prefs (so that users can set, for example ISO format).

If you have particular formats that you'd like us to support, please let me know and we'll get it.

No problem Zibi, I could tell you're in the middle of things.

Landing now, keeping the bug open so I remember to keep an eye on it.

Keywords: leave-open
Target Milestone: --- → 83 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/84ddce4d8035
Port bug 1669573 - Changes to date formatting enums. r=rjl

Not that I think there's much point with the mail.ui.display.dateformat 4 option, but what happens when someone had that set?

If I understand the code correctly, it will just be ignored and the default will be used.

Regressions: 1672548

Closing this in favour of the follow-up I just filed.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Keywords: regression

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

Not that I think there's much point with the mail.ui.display.dateformat 4 option, but what happens when someone had that set?

Option 4 was very useful, for "recent" e-mail within the last seven days you could display the weekday instead of the date.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: