- fix: hide unit count if 2 in Arabic (see #222)
- new: Amharic support (
am
) - change: use
Object.assign
internally on newer runtimes, which should be slightly faster
- new: Central Kurdish support (
ckb
)
- new: Uzbek support (
uz
anduz_CYR
)
- new:
digitReplacements
option - change: cleaned up documentation
- change: shrank package size slightly
- new: Mongolian support (
mn
)
- fix: ordering for Swahili (see #207)
- change: shrank package size slightly
- fix: Japanese word for "month" (see #203)
- new: Afrikaans support (
af
) - new: Albanian support (
sq
) - new: Basque support (
eu
) - new: Bengali support (
bn
) - new: Esperanto support (
eo
) - new: Kannada support (
kn
) - new: Khmer support (
km
) - new: Kurdish support (
ku
) - new: Macedonian support (
mk
) - new: Marathi support (
mr
) - new: Serbian support (
sr
) - new: Tamil support (
ta
) - new: Telugu support (
te
) - new: Welsh support (
cy
) - fix: invalid syntax (trailing commas) for old browsers
- fix: Thai word for "week" is now less colloquial (see #196)
- fix: Slovenian might return
undefined
for weeks (see #194)
- new: Slovenian support
- new: Hindi support
- change: removed extra check when humanizing Arabic
- change: simplify logic for Latvian
- new: Swahili support
- new: Hebrew support
- new: Færøsk support
- fix: if
decimal
is missing in a language, use.
(see #160)
- new: Latvian support
- fix: better handle properties that happen to also be on
Object.prototype
- new: Estonian support
- new:
maxDecimalPoints
option
- new:
fallbacks
option
- new: Romanian support
- new: Thai support
- fix: Greek should be
el
, notgr
- fix: corrections for Arabic
- fix: corrections for Croatian
- new: Croatian support
- new: Lao support
- new: Urdu support
- new: Slovak support
- fix: Ukranian translation for weeks was incorrect
- new: Bulgarian support
- new: Persian/Farsi support
- fix: use singular form from -2 to 2 in French
- new: Icelandic support
- fix: Russian and Ukranian fixes
- new: Indonesian support
- new: Malay support
-
new:
conjunctions
andserialComma
options -
update: improve documentation
- fix: rounding had some more errors
- new: Vietnamese support
-
update: readme should use single quotes
-
fix: rounding had some errors (for example, you could get "1 day, 24 hours")
-
fix: readme example was missing some quotes in its result
-
new: Lithuanian support
-
fix: add trailing semicolon to improve concatenation with other libraries
- new: Finnish support
- new: recommend millisec module in readme
-
new: Czech support
-
update: minor performance improvements
-
update: add "related modules" section to readme
-
fix: add Greek to readme
- new:
unitMeasures
option
- fix: document
largest
option
-
new: Ukrainian support
-
fix: things would break in global strict mode
- new: Greek support
-
new:
largest
option to get largest units -
update: languages can change decimal point (which can be overridden)
-
update: fix some unintuitive
round
behavior -
update: specify units in shorthand rather than longhand
-
update: use the Unlicense
-
update:
nob
is nowno
-
update: use underscores instead of dashes for Chinese
-
remove: half units
- new:
getSupportedLanguages
-
new: changelog
-
new: Arabic support
-
new: Italian support
-
remove: (spoken) languages from package.json keywords