PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/mk.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/mk.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/locale/mk.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 2 years ago
Size: 2,900 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Macedonian [mk] //! author : Borislav Mickov : https://github.com/B0k0 import moment from '../moment'; export default moment.defineLocale('mk', { months : '???????_????????_????_?????_???_????_????_??????_?????????_????????_???????_????????'.split('_'), monthsShort : '???_???_???_???_???_???_???_???_???_???_???_???'.split('_'), weekdays : '??????_??????????_???????_?????_????????_?????_??????'.split('_'), weekdaysShort : '???_???_???_???_???_???_???'.split('_'), weekdaysMin : '?e_?o_??_??_??_??_?a'.split('_'), longDateFormat : { LT : 'H:mm', LTS : 'H:mm:ss', L : 'D.MM.YYYY', LL : 'D MMMM YYYY', LLL : 'D MMMM YYYY H:mm', LLLL : 'dddd, D MMMM YYYY H:mm' }, calendar : { sameDay : '[????? ??] LT', nextDay : '[???? ??] LT', nextWeek : '[??] dddd [??] LT', lastDay : '[????? ??] LT', lastWeek : function () { switch (this.day()) { case 0: case 3: case 6: return '[??????????] dddd [??] LT'; case 1: case 2: case 4: case 5: return '[??????????] dddd [??] LT'; } }, sameElse : 'L' }, relativeTime : { future : '????? %s', past : '???? %s', s : '??????? ???????', m : '??????', mm : '%d ??????', h : '???', hh : '%d ????', d : '???', dd : '%d ????', M : '?????', MM : '%d ??????', y : '??????', yy : '%d ??????' }, dayOfMonthOrdinalParse: /\d{1,2}-(??|??|??|??|??|??)/, ordinal : function (number) { var lastDigit = number % 10, last2Digits = number % 100; if (number === 0) { return number + '-??'; } else if (last2Digits === 0) { return number + '-??'; } else if (last2Digits > 10 && last2Digits < 20) { return number + '-??'; } else if (lastDigit === 1) { return number + '-??'; } else if (lastDigit === 2) { return number + '-??'; } else if (lastDigit === 7 || lastDigit === 8) { return number + '-??'; } else { 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. } });