Port Bug 1428172 "Align mozIntl with Intl when working with constructors" to SeaMonkey

RESOLVED FIXED in seamonkey2.57

Status

enhancement
RESOLVED FIXED
Last year
Last year

People

(Reporter: frg, Assigned: frg)

Tracking

SeaMonkey 2.56 Branch
seamonkey2.57

SeaMonkey Tracking Flags

(seamonkey2.56 wontfix, seamonkey2.57esr fixed)

Details

Attachments

(1 attachment)

Assignee

Description

Last year
+++ This bug was initially created as a clone of Bug #1428172 +++

Currently the mozIntl API is misaligned with Intl API when it comes to constructors:

```
let dtf = new Intl.DateTimeFormat(locales, options);

let dtf2 = mozIntl.createDateTimeFormat(locales, options);
```

Before we extend the mozIntl to cover other Intl constructors (bug 1422658), I'd like to align it.
Assignee

Comment 1

Last year
Patch from Bill. 

Two places in bookmarks and history remain. These are currently broken anyway and will be taken care of with the patches in Bug 1378089.
Attachment #8955787 - Flags: review+
Assignee

Updated

Last year
Version: SeaMonkey 2.58 Branch → SeaMonkey 2.56 Branch

Comment 2

Last year
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b8857d30de31
Replace Services.intl.createDateTimeFormat with Services.intl.DateTimeFormat in SeaMonkey. r=frg
Status: ASSIGNED → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Assignee

Updated

Last year
Target Milestone: --- → Seamonkey2.57
You need to log in before you can comment on or make changes to this bug.