Skip to content

badges-bot/proposal-intl-unit-format

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intl.UnitFormat API Specification [draft]

Stage 1

Status

Stage 1

Implementation Progress

Backpointers

Authors

  • Zibi Braniecki (@zbraniecki)

Reviewers

TBD

Informative

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

Prior Art

Usage

let o = new Intl.UnitFormat("en", {
    type: "duration",
    unit: "hour",
    style: "long" // default style
});
console.log(o.format(15)); // "15 hours"

Render Spec

npm install
npm run build
open index.html

About

`Intl.UnitFormat` specification [draft]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%