Closed Bug 1743929 Opened 2 years ago Closed 2 years ago

Port bug 1715892 to Thunderbird - Unify the intl/locale/DateTimeFormat API into the intl/components/DateTimeFormat

Categories

(Thunderbird :: Upstream Synchronization, defect)

defect

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
96 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: rachel, Assigned: rachel)

References

Details

Attachments

(1 file, 2 obsolete files)

Attached patch port-1715892.patch (obsolete) — Splinter Review

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

You will need this soon. Tweak as you deem fit.

Comment on attachment 9253337 [details] [diff] [review]
port-1715892.patch

Please note the attached patch.

Attachment #9253337 - Attachment is patch: true
Flags: needinfo?(geoff)
Flags: needinfo?(benc)
Depends on: 1715892
Attached patch port-1715892.patch (obsolete) — Splinter Review

This time without the unwanted comment changes :-(

Attachment #9253337 - Attachment is obsolete: true

In the view code, the kDateFormatNone case is missing, so for today you won't get anything. Please add. BTW, all untested.

Looks good to me.

(In reply to Rachel Martin from comment #3)

In the view code, the kDateFormatNone case is missing, so for today you won't get anything. Please add.

Any particular reason why not? You got 99% of the way there…

Flags: needinfo?(geoff)
Flags: needinfo?(benc)
Attachment #9253338 - Attachment is obsolete: true
Attachment #9253350 - Flags: review+
Assignee: nobody → rachel
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → 96 Branch
Summary: Port bug 1715892 → Port bug 1715892 to Thunderbird - Unify the intl/locale/DateTimeFormat API into the intl/components/DateTimeFormat

(In reply to Geoff Lankow (:darktrojan) from comment #4)

Any particular reason why not? You got 99% of the way there…

You misunderstood.
In the view code, the kDateFormatNone case is missing, so for today you won't get anything.
This was meant to mean:
In the view code, the kDateFormatNone case is missing, so for the display of today's date/time you won't get anything displayed.
Also we didn't test it at all. So thanks for adding and testing.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f57258e2c14f
Port bug 1715892 - Unify the intl/locale/DateTimeFormat API into the intl/components/DateTimeFormat. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: