LaravelTest
94 строки · 3.0 Кб
1//! moment.js locale configuration
2//! locale : Occitan, lengadocian dialecte [oc-lnc]
3//! author : Quentin PAGÈS : https://github.com/Quenty31
4
5;(function (global, factory) {6typeof exports === 'object' && typeof module !== 'undefined'7&& typeof require === 'function' ? factory(require('../moment')) :8typeof define === 'function' && define.amd ? define(['../moment'], factory) :9factory(global.moment)10}(this, (function (moment) { 'use strict';11
12//! moment.js locale configuration13
14var ocLnc = moment.defineLocale('oc-lnc', {15months: {16standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(17'_'18),19format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(20'_'21),22isFormat: /D[oD]?(\s)+MMMM/,23},24monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(25'_'26),27monthsParseExact: true,28weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(29'_'30),31weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),32weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),33weekdaysParseExact: true,34longDateFormat: {35LT: 'H:mm',36LTS: 'H:mm:ss',37L: 'DD/MM/YYYY',38LL: 'D MMMM [de] YYYY',39ll: 'D MMM YYYY',40LLL: 'D MMMM [de] YYYY [a] H:mm',41lll: 'D MMM YYYY, H:mm',42LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',43llll: 'ddd D MMM YYYY, H:mm',44},45calendar: {46sameDay: '[uèi a] LT',47nextDay: '[deman a] LT',48nextWeek: 'dddd [a] LT',49lastDay: '[ièr a] LT',50lastWeek: 'dddd [passat a] LT',51sameElse: 'L',52},53relativeTime: {54future: "d'aquí %s",55past: 'fa %s',56s: 'unas segondas',57ss: '%d segondas',58m: 'una minuta',59mm: '%d minutas',60h: 'una ora',61hh: '%d oras',62d: 'un jorn',63dd: '%d jorns',64M: 'un mes',65MM: '%d meses',66y: 'un an',67yy: '%d ans',68},69dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,70ordinal: function (number, period) {71var output =72number === 173? 'r'74: number === 275? 'n'76: number === 377? 'r'78: number === 479? 't'80: 'è';81if (period === 'w' || period === 'W') {82output = 'a';83}84return number + output;85},86week: {87dow: 1, // Monday is the first day of the week.88doy: 4,89},90});91
92return ocLnc;93
94})));95