From: Max Mykhailenko Date: Mon, 19 Oct 2015 13:05:17 +0000 (+0300) Subject: fix Ukrainian version when build relative time X-Git-Tag: 2.11.0~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96a1ede9913ef3aac7b39909b63df917d41cff6a;p=thirdparty%2Fmoment.git fix Ukrainian version when build relative time --- diff --git a/src/locale/uk.js b/src/locale/uk.js index fe1f7d2a6..9894dd349 100644 --- a/src/locale/uk.js +++ b/src/locale/uk.js @@ -11,8 +11,8 @@ function plural(word, num) { } function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { - 'mm': 'хвилина_хвилини_хвилин', - 'hh': 'година_години_годин', + 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин', 'dd': 'день_дні_днів', 'MM': 'місяць_місяці_місяців', 'yy': 'рік_роки_років'