PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
plugins
/
buddypress
/
bp-core
/
js
/
vendor
/
moment-js
/
locale
//! moment.js locale configuration //! locale : Ukrainian [uk] //! author : zemlanin : https://github.com/zemlanin //! Author : Menelion Elensúle : https://github.com/Oire ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, function (moment) { 'use strict'; function plural(word, num) { var forms = word.split('_'); return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); } function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин', 'dd': 'день_дні_днів', 'MM': 'місяць_місяці_місяців', 'yy': 'рік_роки_років' }; if (key === 'm') { return withoutSuffix ? 'хвилина' : 'хвилину'; } else if (key === 'h') { return withoutSuffix ? 'година' : 'годину'; } else { return number + ' ' + plural(format[key], +number); } } function weekdaysCaseReplace(m, format) { var weekdays = { 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'), 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_') }, nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ? 'accusative' : ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ? 'genitive' : 'nominative'); return weekdays[nounCase][m.day()]; } function processHoursFunction(str) { return function () { return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; }; } var uk = moment.defineLocale('uk', { months : { 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'), 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_') }, monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), weekdays : weekdaysCaseReplace, weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', L : 'DD.MM.YYYY', LL : 'D MMMM YYYY р.', LLL : 'D MMMM YYYY р., HH:mm', LLLL : 'dddd, D MMMM YYYY р., HH:mm' }, calendar : { sameDay: processHoursFunction('[Сьогодні '), nextDay: processHoursFunction('[Завтра '), lastDay: processHoursFunction('[Вчора '), nextWeek: processHoursFunction('[У] dddd ['), lastWeek: function () { switch (this.day()) { case 0: case 3: case 5: case 6: return processHoursFunction('[Минулої] dddd [').call(this); case 1: case 2: case 4: return processHoursFunction('[Минулого] dddd [').call(this); } }, sameElse: 'L' }, relativeTime : { future : 'за %s', past : '%s тому', s : 'декілька секунд', m : relativeTimeWithPlural, mm : relativeTimeWithPlural, h : 'годину', hh : relativeTimeWithPlural, d : 'день', dd : relativeTimeWithPlural, M : 'місяць', MM : relativeTimeWithPlural, y : 'рік', yy : relativeTimeWithPlural }, // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason meridiemParse: /ночі|ранку|дня|вечора/, isPM: function (input) { return /^(дня|вечора)$/.test(input); }, meridiem : function (hour, minute, isLower) { if (hour < 4) { return 'ночі'; } else if (hour < 12) { return 'ранку'; } else if (hour < 17) { return 'дня'; } else { return 'вечора'; } }, ordinalParse: /\d{1,2}-(й|го)/, ordinal: function (number, period) { switch (period) { case 'M': case 'd': case 'DDD': case 'w': case 'W': return number + '-й'; case 'D': return number + '-го'; default: return number; } }, week : { dow : 1, // Monday is the first day of the week. doy : 7 // The week that contains Jan 1st is the first week of the year. } }); return uk; }));
[+]
..
[-] sq.js
[edit]
[-] th.min.js
[edit]
[-] mi.js
[edit]
[-] he.min.js
[edit]
[-] en-au.js
[edit]
[-] bn.js
[edit]
[-] ms-my.js
[edit]
[-] de.min.js
[edit]
[-] af.js
[edit]
[-] tzm.min.js
[edit]
[-] te.min.js
[edit]
[-] tl-ph.js
[edit]
[-] bs.min.js
[edit]
[-] ms-my.min.js
[edit]
[-] lo.js
[edit]
[-] es-do.min.js
[edit]
[-] vi.min.js
[edit]
[-] it.min.js
[edit]
[-] ky.js
[edit]
[-] ko.js
[edit]
[-] et.min.js
[edit]
[-] ko.min.js
[edit]
[-] tr.min.js
[edit]
[-] eo.js
[edit]
[-] fr-ch.js
[edit]
[-] en-ie.js
[edit]
[-] ar-ma.min.js
[edit]
[-] my.min.js
[edit]
[-] vi.js
[edit]
[-] fi.min.js
[edit]
[-] en-nz.min.js
[edit]
[-] bo.js
[edit]
[-] hr.min.js
[edit]
[-] tr.js
[edit]
[-] ml.min.js
[edit]
[-] he.js
[edit]
[-] de-at.js
[edit]
[-] el.min.js
[edit]
[-] sr.js
[edit]
[-] it.js
[edit]
[-] ru.js
[edit]
[-] pl.js
[edit]
[-] sw.min.js
[edit]
[-] x-pseudo.js
[edit]
[-] nb.js
[edit]
[-] km.js
[edit]
[-] km.min.js
[edit]
[-] en-ie.min.js
[edit]
[-] ar.js
[edit]
[-] fr.js
[edit]
[-] hr.js
[edit]
[-] mk.js
[edit]
[-] ss.js
[edit]
[-] se.js
[edit]
[-] te.js
[edit]
[-] el.js
[edit]
[-] cy.js
[edit]
[-] en-gb.js
[edit]
[-] ta.min.js
[edit]
[-] sq.min.js
[edit]
[-] da.min.js
[edit]
[-] tl-ph.min.js
[edit]
[-] ta.js
[edit]
[-] ar-tn.js
[edit]
[-] sw.js
[edit]
[-] en-gb.min.js
[edit]
[-] pl.min.js
[edit]
[-] my.js
[edit]
[-] ar-ly.min.js
[edit]
[-] sv.js
[edit]
[-] lv.min.js
[edit]
[-] sk.min.js
[edit]
[-] ar-ma.js
[edit]
[-] dv.min.js
[edit]
[-] tlh.js
[edit]
[-] kk.min.js
[edit]
[-] ar-tn.min.js
[edit]
[-] tlh.min.js
[edit]
[-] fa.js
[edit]
[-] ss.min.js
[edit]
[-] kk.js
[edit]
[-] id.js
[edit]
[-] me.min.js
[edit]
[-] zh-tw.js
[edit]
[-] ml.js
[edit]
[-] hu.js
[edit]
[-] gd.js
[edit]
[-] ru.min.js
[edit]
[-] cs.min.js
[edit]
[-] x-pseudo.min.js
[edit]
[-] gd.min.js
[edit]
[-] zh-cn.js
[edit]
[-] si.min.js
[edit]
[-] lt.min.js
[edit]
[-] bo.min.js
[edit]
[-] fo.min.js
[edit]
[-] ro.min.js
[edit]
[-] mr.min.js
[edit]
[-] is.js
[edit]
[-] nb.min.js
[edit]
[-] pt.min.js
[edit]
[-] ar.min.js
[edit]
[-] ne.js
[edit]
[-] tzm-latn.js
[edit]
[-] fa.min.js
[edit]
[-] eu.js
[edit]
[-] en-ca.js
[edit]
[-] pa-in.js
[edit]
[-] ja.min.js
[edit]
[-] gl.js
[edit]
[-] mr.js
[edit]
[-] zh-tw.min.js
[edit]
[-] nl.js
[edit]
[-] nl.min.js
[edit]
[-] pt.js
[edit]
[-] es-do.js
[edit]
[-] de.js
[edit]
[-] uz.js
[edit]
[-] mk.min.js
[edit]
[-] cs.js
[edit]
[-] lt.js
[edit]
[-] lb.js
[edit]
[-] uk.min.js
[edit]
[-] jv.min.js
[edit]
[-] sk.js
[edit]
[-] ms.js
[edit]
[-] me.js
[edit]
[-] en-au.min.js
[edit]
[-] et.js
[edit]
[-] af.min.js
[edit]
[-] fr-ch.min.js
[edit]
[-] is.min.js
[edit]
[-] si.js
[edit]
[-] ms.min.js
[edit]
[-] tzm-latn.min.js
[edit]
[-] es.min.js
[edit]
[-] se.min.js
[edit]
[-] sr-cyrl.min.js
[edit]
[-] nn.min.js
[edit]
[-] ar-ly.js
[edit]
[-] zh-hk.js
[edit]
[-] lv.js
[edit]
[-] hu.min.js
[edit]
[-] bn.min.js
[edit]
[-] fi.js
[edit]
[-] fy.min.js
[edit]
[-] ro.js
[edit]
[-] sr-cyrl.js
[edit]
[-] lb.min.js
[edit]
[-] en-ca.min.js
[edit]
[-] mi.min.js
[edit]
[-] ka.js
[edit]
[-] nn.js
[edit]
[-] lo.min.js
[edit]
[-] sr.min.js
[edit]
[-] th.js
[edit]
[-] pa-in.min.js
[edit]
[-] id.min.js
[edit]
[-] hi.js
[edit]
[-] zh-cn.min.js
[edit]
[-] uk.js
[edit]
[-] sl.js
[edit]
[-] ne.min.js
[edit]
[-] bs.js
[edit]
[-] be.js
[edit]
[-] tzm.js
[edit]
[-] be.min.js
[edit]
[-] es.js
[edit]
[-] eu.min.js
[edit]
[-] hy-am.min.js
[edit]
[-] ky.min.js
[edit]
[-] tzl.min.js
[edit]
[-] br.min.js
[edit]
[-] fr.min.js
[edit]
[-] hi.min.js
[edit]
[-] pt-br.js
[edit]
[-] tzl.js
[edit]
[-] cy.min.js
[edit]
[-] br.js
[edit]
[-] pt-br.min.js
[edit]
[-] ar-sa.min.js
[edit]
[-] eo.min.js
[edit]
[-] az.js
[edit]
[-] hy-am.js
[edit]
[-] ka.min.js
[edit]
[-] sl.min.js
[edit]
[-] ca.js
[edit]
[-] az.min.js
[edit]
[-] fr-ca.min.js
[edit]
[-] da.js
[edit]
[-] ca.min.js
[edit]
[-] fr-ca.js
[edit]
[-] bg.min.js
[edit]
[-] ja.js
[edit]
[-] uz.min.js
[edit]
[-] en-nz.js
[edit]
[-] gl.min.js
[edit]
[-] bg.js
[edit]
[-] ar-sa.js
[edit]
[-] jv.js
[edit]
[-] sv.min.js
[edit]
[-] cv.min.js
[edit]
[-] de-at.min.js
[edit]
[-] dv.js
[edit]
[-] zh-hk.min.js
[edit]
[-] fo.js
[edit]
[-] fy.js
[edit]
[-] cv.js
[edit]