[Webkit-unassigned] [Bug 185375] New: Add support for Intl NumberFormat formatToParts
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 7 06:53:16 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=185375
Bug ID: 185375
Summary: Add support for Intl NumberFormat formatToParts
Product: WebKit
Version: Safari 11
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Enhancement
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: robin at reala.net
I’d love to see formatToParts supported - at the moment we’re having to add a polyfill for Safari (and Edge, although native support is now there in Firefox and Chrome). This lets us use Intl’s numberFormat to produce currency strings with all the global display inconsistencies, but also lets us support target markets in customisations they want to do (e.g. use a custom currency marker or replace the decimals with a dash when it’s a round number).
MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat/formatToParts
ECMA 402 issue: https://github.com/tc39/ecma402/issues/30
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180507/9f966ace/attachment-0001.html>
More information about the webkit-unassigned
mailing list