humanize-duration
Advanced tools
Comparing version 3.15.3 to 3.16.0
@@ -0,1 +1,7 @@ | ||
3.16.0 / 2018-12-01 | ||
=================== | ||
* new: Romanian support | ||
* new: Thai support | ||
3.15.3 / 2018-09-18 | ||
@@ -2,0 +8,0 @@ =================== |
@@ -346,2 +346,13 @@ // HumanizeDuration.js - https://git.io/j0HgmQ | ||
}, | ||
ro: { | ||
y: function (c) { return c === 1 ? 'an' : 'ani' }, | ||
mo: function (c) { return c === 1 ? 'lună' : 'luni' }, | ||
w: function (c) { return c === 1 ? 'săptămână' : 'săptămâni' }, | ||
d: function (c) { return c === 1 ? 'zi' : 'zile' }, | ||
h: function (c) { return c === 1 ? 'oră' : 'ore' }, | ||
m: function (c) { return c === 1 ? 'minut' : 'minute' }, | ||
s: function (c) { return c === 1 ? 'secundă' : 'secunde' }, | ||
ms: function (c) { return c === 1 ? 'milisecundă' : 'milisecunde' }, | ||
decimal: ',' | ||
}, | ||
ru: { | ||
@@ -413,2 +424,13 @@ y: function (c) { return ['лет', 'год', 'года'][getSlavicForm(c)] }, | ||
}, | ||
th: { | ||
y: 'ปี', | ||
mo: 'เดือน', | ||
w: 'อาทิตย์', | ||
d: 'วัน', | ||
h: 'ชั่วโมง', | ||
m: 'นาที', | ||
s: 'วินาที', | ||
ms: 'มิลลิวินาที', | ||
decimal: '.' | ||
}, | ||
vi: { | ||
@@ -415,0 +437,0 @@ y: 'năm', |
@@ -26,5 +26,6 @@ { | ||
"Abdul Jalil (https://github.com/abduljalilm94)", | ||
"Alex Sam (https://github.com/sam-lex)" | ||
"Alex Sam (https://github.com/sam-lex)", | ||
"Wasuwat Limsuparhat (https://github.com/rappad)" | ||
], | ||
"version": "3.15.3", | ||
"version": "3.16.0", | ||
"description": "Convert millisecond durations to English and many other languages.", | ||
@@ -31,0 +32,0 @@ "homepage": "https://github.com/EvanHahn/HumanizeDuration.js", |
@@ -232,2 +232,3 @@ Humanize Duration | ||
| Portuguese | `pt` | | ||
| Romanian | `ro` | | ||
| Russian | `ru` | | ||
@@ -238,2 +239,3 @@ | Slovak | `sk` | | ||
| Turkish | `tr` | | ||
| Thai | `th` | | ||
| Ukrainian | `uk` | | ||
@@ -278,2 +280,3 @@ | Urdu | `ur` | | ||
* [Abdul Jalil](https://github.com/abduljalilm94) for Urdu support | ||
* [Wasuwat Limsuparhat](https://github.com/rappad) for Thai support | ||
* Malikoun for Lao support | ||
@@ -280,0 +283,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42570
669
292