diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/moment/src/locale/hu.js | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/moment/src/locale/hu.js')
-rw-r--r-- | node_modules/moment/src/locale/hu.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/moment/src/locale/hu.js b/node_modules/moment/src/locale/hu.js index 6f636111b..1e075de93 100644 --- a/node_modules/moment/src/locale/hu.js +++ b/node_modules/moment/src/locale/hu.js @@ -11,6 +11,8 @@ function translate(number, withoutSuffix, key, isFuture) { switch (key) { case 's': return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce'; + case 'ss': + return num + (isFuture || withoutSuffix) ? ' másodperc' : ' másodperce'; case 'm': return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); case 'mm': @@ -79,6 +81,7 @@ export default moment.defineLocale('hu', { future : '%s múlva', past : '%s', s : translate, + ss : translate, m : translate, mm : translate, h : translate, |