Вход Регистрация
Файл: upload/catalog/view/javascript/jquery/datetimepicker/locale/az.js
Строк: 110
<?php
//! moment.js locale configuration
//! locale : azerbaijani (az)
//! author : topchiyev : https://github.com/topchiyev

(function (global, factory) {
   
typeof exports === 'object' && typeof module !== 'undefined' 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('_'),
        
longDateFormat : {
            
LT 'HH:mm',
            
LTS 'HH:mm:ss',
            
'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',
            
'birneçə saniyyə',
            
'bir dəqiqə',
            
mm '%d dəqiqə',
            
'bir saat',
            
hh '%d saat',
            
'bir gün',
            
dd '%d gün',
            
'bir ay',
            
MM '%d ay',
            
'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 (hourminuteisLower) {
            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';
            }
        },
        
ordinalParse: /d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
        
ordinal : function (number) {
            if (
number === 0) {  // special case for zero
                
return number '-ıncı';
            }
            var 
number 10,
                
number 100 a,
                
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;

}));
?>
Онлайн: 2
Реклама