Skip to content

Latest commit

 

History

History
80 lines (47 loc) · 1.51 KB

unit-format.md

File metadata and controls

80 lines (47 loc) · 1.51 KB

Unit Format

{ amount: 100, unit: "meter-per-second", form: "short" } ⟹ "100 m/s"

{ amount: 59, unit: "second", form: "long" } ⟹ "59 seconds"

iLib
Regular Formatting ✔️
Localized Unit Names ✔️
Long and Short Formats ✔️
Auto Conversion to Locale's Measurement System ✔️
Auto-scaling to Largest Appropriate Units ✔️
Max and Min Fraction Digits ✔️
Numeric numbering systems
latin (0123...), arabic (٠١٢٣...), thai (๐๑๒๓...)
✔️
Algorithmic numbering systems / RBNF
roman, gregorian
✔️

Regular Formatting

TBD

Localized Unit Names

TBD

Long and Short Formats

TBD

Auto Conversion to Locale's Measurement System

TBD

Auto-scaling to Largest Appropriate Units

TBD

Max and Min Fraction Digits

TBD

Numeric numbering systems

TBD

Algorithmic numbering systems / RBNF

TBD

Duration Format

Unit format for time specifics.

{ hours: 42, minutes: 23, seconds: 23 }42:23:23

{ hours: 98, minutes: 11 } in it98.11

iLib
Clock format ✔️
Written-out format ✔️
Localized units ✔️
Locale-sensitive plurals ✔️

Clock format

TBD

Written-out format

TBD

Localized units

TBD

Locale-sensitive plurals

TBD