PHP Classes

File: CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/locale/az.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/locale/az.js   Download  
File: CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/locale/az.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: 3 years ago
Size: 3,099 bytes
 

Contents

Class file image Download
//! moment.js locale configuration //! locale : Azerbaijani [az] //! author : topchiyev : https://github.com/topchiyev ;(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'; var suffixes = { 1: '-inci', 5: '-inci', 8: '-inci', 70: '-inci', 80: '-inci', 2: '-nci', 7: '-nci', 20: '-nci', 50: '-nci', 3: '-üncü', 4: '-üncü', 100: '-üncü', 6: '-nc?', 9: '-uncu', 10: '-uncu', 30: '-uncu', 60: '-?nc?', 90: '-?nc?' }; var az = moment.defineLocale('az', { months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), weekdays : 'Bazar_Bazar ert?si_Ç?r??nb? ax?am?_Ç?r??nb?_Cüm? ax?am?_Cüm?_??nb?'.split('_'), weekdaysShort : 'Baz_BzE_ÇAx_Ç?r_CAx_Cüm_??n'.split('_'), weekdaysMin : 'Bz_BE_ÇA_Ç?_CA_Cü_??'.split('_'), weekdaysParseExact : true, 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 : '[bugün saat] LT', nextDay : '[sabah saat] LT', nextWeek : '[g?l?n h?ft?] dddd [saat] LT', lastDay : '[dün?n] LT', lastWeek : '[keç?n h?ft?] dddd [saat] LT', sameElse : 'L' }, relativeTime : { future : '%s sonra', past : '%s ?vv?l', s : 'birneç? saniyy?', m : 'bir d?qiq?', mm : '%d d?qiq?', h : 'bir saat', hh : '%d saat', d : 'bir gün', dd : '%d gün', M : 'bir ay', MM : '%d ay', y : 'bir il', yy : '%d il' }, meridiemParse: /gec?|s?h?r|gündüz|ax?am/, isPM : function (input) { return /^(gündüz|ax?am)$/.test(input); }, meridiem : function (hour, minute, isLower) { if (hour < 4) { return 'gec?'; } else if (hour < 12) { return 's?h?r'; } else if (hour < 17) { return 'gündüz'; } else { return 'ax?am'; } }, dayOfMonthOrdinalParse: /\d{1,2}-(?nc?|inci|nci|üncü|nc?|uncu)/, ordinal : function (number) { if (number === 0) { // special case for zero return number + '-?nc?'; } var a = number % 10, b = number % 100 - a, c = number >= 100 ? 100 : null; return number + (suffixes[a] || suffixes[b] || suffixes[c]); }, 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 az; })));