2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
2020-11-10 20:34:26 -05:00
|
|
|
//! locale : Frisian [fy]
|
|
|
|
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
2016-02-05 15:42:48 -05:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 00:24:20 -04:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-05 15:42:48 -05:00
|
|
|
factory(global.moment)
|
2017-04-20 00:24:20 -04:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
//! moment.js locale configuration
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(
|
|
|
|
'_'
|
|
|
|
);
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
var fy = moment.defineLocale('fy', {
|
2020-11-10 20:34:26 -05:00
|
|
|
months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: function (m, format) {
|
2018-04-26 03:15:53 -04:00
|
|
|
if (!m) {
|
|
|
|
return monthsShortWithDots;
|
|
|
|
} else if (/-MMM-/.test(format)) {
|
|
|
|
return monthsShortWithoutDots[m.month()];
|
|
|
|
} else {
|
|
|
|
return monthsShortWithDots[m.month()];
|
|
|
|
}
|
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
monthsParseExact: true,
|
|
|
|
weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
|
|
|
weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.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',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
calendar: {
|
2018-04-26 03:15:53 -04:00
|
|
|
sameDay: '[hjoed om] LT',
|
|
|
|
nextDay: '[moarn om] LT',
|
|
|
|
nextWeek: 'dddd [om] LT',
|
|
|
|
lastDay: '[juster om] LT',
|
|
|
|
lastWeek: '[ôfrûne] dddd [om] LT',
|
2020-11-10 20:34:26 -05:00
|
|
|
sameElse: 'L',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
relativeTime: {
|
|
|
|
future: 'oer %s',
|
|
|
|
past: '%s lyn',
|
|
|
|
s: 'in pear sekonden',
|
|
|
|
ss: '%d sekonden',
|
|
|
|
m: 'ien minút',
|
|
|
|
mm: '%d minuten',
|
|
|
|
h: 'ien oere',
|
|
|
|
hh: '%d oeren',
|
|
|
|
d: 'ien dei',
|
|
|
|
dd: '%d dagen',
|
|
|
|
M: 'ien moanne',
|
|
|
|
MM: '%d moannen',
|
|
|
|
y: 'ien jier',
|
|
|
|
yy: '%d jierren',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
2020-11-10 20:34:26 -05:00
|
|
|
ordinal: function (number) {
|
|
|
|
return (
|
|
|
|
number +
|
|
|
|
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
|
|
|
);
|
|
|
|
},
|
|
|
|
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.
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
});
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
return fy;
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2017-04-20 00:24:20 -04:00
|
|
|
})));
|