PHP Classes

File: upload/themes/bb_simple/assets/moment/locale/be.js

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/assets/moment/locale/be.js   Download  
File: upload/themes/bb_simple/assets/moment/locale/be.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 3 years ago
Size: 5,131 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Belarusian [be] //! author : Dmitry Demidov : https://github.com/demidov91 //! author: Praleska: http://praleska.pro/ //! 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); } } var be = moment.defineLocale('be', { months : { format: '????????_??????_????????_?????????_??????_???????_??????_??????_???????_???????????_?????????_??????'.split('_'), standalone: '????????_????_???????_????????_???????_???????_??????_???????_????????_??????????_????????_???????'.split('_') }, monthsShort : '????_???_???_????_????_????_???_????_???_????_????_????'.split('_'), weekdays : { format: '???????_??????????_???????_??????_??????_???????_??????'.split('_'), standalone: '???????_??????????_???????_??????_??????_???????_??????'.split('_'), isFormat: /\[ ?[??] ?(?:???????|?????????)? ?\] ?dddd/ }, 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: '[????? ?] LT', nextDay: '[?????? ?] LT', lastDay: '[????? ?] LT', nextWeek: function () { return '[?] dddd [?] LT'; }, lastWeek: function () { switch (this.day()) { case 0: case 3: case 5: case 6: return '[? ???????] dddd [?] LT'; case 1: case 2: case 4: return '[? ??????] dddd [?] LT'; } }, sameElse: 'L' }, relativeTime : { future : '???? %s', past : '%s ????', s : '???????? ??????', m : relativeTimeWithPlural, mm : relativeTimeWithPlural, h : relativeTimeWithPlural, hh : relativeTimeWithPlural, d : '?????', dd : relativeTimeWithPlural, M : '?????', MM : relativeTimeWithPlural, y : '???', yy : relativeTimeWithPlural }, 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 '??????'; } }, dayOfMonthOrdinalParse: /\d{1,2}-(?|?|??)/, ordinal: function (number, period) { switch (period) { case 'M': case 'd': case 'DDD': case 'w': case 'W': return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-?' : 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 be; })));