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

(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 
sv moment.defineLocale('sv', {
        
months 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
        
monthsShort 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
        
weekdays 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
        
weekdaysShort 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
        
weekdaysMin 'sö_må_ti_on_to_fr_lö'.split('_'),
        
longDateFormat : {
            
LT 'HH:mm',
            
LTS 'HH:mm:ss',
            
'YYYY-MM-DD',
            
LL 'D MMMM YYYY',
            
LLL 'D MMMM YYYY HH:mm',
            
LLLL 'dddd D MMMM YYYY HH:mm'
        
},
        
calendar : {
            
sameDay'[Idag] LT',
            
nextDay'[Imorgon] LT',
            
lastDay'[Igår] LT',
            
nextWeek'[På] dddd LT',
            
lastWeek'[I] dddd[s] LT',
            
sameElse'L'
        
},
        
relativeTime : {
            
future 'om %s',
            
past 'för %s sedan',
            
'några sekunder',
            
'en minut',
            
mm '%d minuter',
            
'en timme',
            
hh '%d timmar',
            
'en dag',
            
dd '%d dagar',
            
'en månad',
            
MM '%d månader',
            
'ett år',
            
yy '%d år'
        
},
        
ordinalParse: /d{1,2}(e|a)/,
        
ordinal : function (number) {
            var 
number 10,
                
output = (~~(number 100 10) === 1) ? 'e' :
                (
=== 1) ? 'a' :
                (
=== 2) ? 'a' :
                (
=== 3) ? 'e' 'e';
            return 
number output;
        },
        
week : {
            
dow 1// Monday is the first day of the week.
            
doy 4  // The week that contains Jan 4th is the first week of the year.
        
}
    });

    return 
sv;

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