tc39/proposal-intl-unit-format

Name: proposal-intl-unit-format

Owner: Ecma TC39

Description: `Intl.UnitFormat` specification [draft]

Created: 2016-04-12 16:45:55.0

Updated: 2017-11-27 23:23:35.0

Pushed: 2017-03-21 21:35:46.0

Homepage: https://rawgit.com/zbraniecki/proposal-intl-unit-format/master/index.html

Size: 26

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Intl.UnitFormat API Specification [draft]
Status

Stage 1

Implementation Progress

Backpointers

Authors
Reviewers

TBD

Informative

This proposal is based on the LDML spec, List Patterns:

Prior Art
Usage
o = new Intl.UnitFormat("en", {
type: "duration",
unit: "hour",
style: "long" // default style

ole.log(o.format(15)); // "15 hours"
Render Spec
install
run build
 index.html

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.