LaravelTest
88 строк · 2.8 Кб
1//! moment.js locale configuration
2//! locale : Frisian [fy]
3//! author : Robin van der Vliet : https://github.com/robin0van0der0v
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 monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(15'_'16),17monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(18'_'19);20
21var fy = moment.defineLocale('fy', {22months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(23'_'24),25monthsShort: function (m, format) {26if (!m) {27return monthsShortWithDots;28} else if (/-MMM-/.test(format)) {29return monthsShortWithoutDots[m.month()];30} else {31return monthsShortWithDots[m.month()];32}33},34monthsParseExact: true,35weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(36'_'37),38weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),39weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),40weekdaysParseExact: true,41longDateFormat: {42LT: 'HH:mm',43LTS: 'HH:mm:ss',44L: 'DD-MM-YYYY',45LL: 'D MMMM YYYY',46LLL: 'D MMMM YYYY HH:mm',47LLLL: 'dddd D MMMM YYYY HH:mm',48},49calendar: {50sameDay: '[hjoed om] LT',51nextDay: '[moarn om] LT',52nextWeek: 'dddd [om] LT',53lastDay: '[juster om] LT',54lastWeek: '[ôfrûne] dddd [om] LT',55sameElse: 'L',56},57relativeTime: {58future: 'oer %s',59past: '%s lyn',60s: 'in pear sekonden',61ss: '%d sekonden',62m: 'ien minút',63mm: '%d minuten',64h: 'ien oere',65hh: '%d oeren',66d: 'ien dei',67dd: '%d dagen',68M: 'ien moanne',69MM: '%d moannen',70y: 'ien jier',71yy: '%d jierren',72},73dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,74ordinal: function (number) {75return (76number +77(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')78);79},80week: {81dow: 1, // Monday is the first day of the week.82doy: 4, // The week that contains Jan 4th is the first week of the year.83},84});85
86return fy;87
88})));89