Ecma 402: Intl.DateTimeFormat.prototype.formatToParts()

Intl.DateTimeFormat.prototype.formatToParts() is scheduled to be added to the EcmaScript Internationalization API specification (Ecma 402). It adds a method to format date and time to a list of tokens and their type (e.g. literal, day, year, month, hour, minute, era, etc). It's implemented and shipped by Firefox. v8 implemented it behind a flag.

Documentation

Specification

Editor's draft

Status in Chromium

Behind a flag (launch bug) in:

  • Chrome for desktop release 55
  • Chrome for Android release 55
  • Opera release 42
  • Opera for Android release 42

Consensus & Standardization

  • Shipped
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2016-12-16