2016-02-06 04:42:48 +08:00
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08:00
|
|
|
//! locale : Talossan [tzl]
|
|
|
|
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
|
|
//! author : Iustì Canun
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 12:24:20 +08:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-06 04:42:48 +08:00
|
|
|
factory(global.moment)
|
2017-04-20 12:24:20 +08:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
//! moment.js locale configuration
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
|
|
|
// This is currently too difficult (maybe even impossible) to add.
|
|
|
|
var tzl = moment.defineLocale('tzl', {
|
2020-11-11 09:34:26 +08:00
|
|
|
months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
|
|
|
weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
|
|
|
weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
|
|
|
weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
|
|
|
longDateFormat: {
|
|
|
|
LT: 'HH.mm',
|
|
|
|
LTS: 'HH.mm.ss',
|
|
|
|
L: 'DD.MM.YYYY',
|
|
|
|
LL: 'D. MMMM [dallas] YYYY',
|
|
|
|
LLL: 'D. MMMM [dallas] YYYY HH.mm',
|
|
|
|
LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
|
|
|
meridiemParse: /d\'o|d\'a/i,
|
2020-11-11 09:34:26 +08:00
|
|
|
isPM: function (input) {
|
|
|
|
return "d'o" === input.toLowerCase();
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
meridiem: function (hours, minutes, isLower) {
|
2018-04-26 15:15:53 +08:00
|
|
|
if (hours > 11) {
|
2020-11-11 09:34:26 +08:00
|
|
|
return isLower ? "d'o" : "D'O";
|
2018-04-26 15:15:53 +08:00
|
|
|
} else {
|
2020-11-11 09:34:26 +08:00
|
|
|
return isLower ? "d'a" : "D'A";
|
2018-04-26 15:15:53 +08:00
|
|
|
}
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
calendar: {
|
|
|
|
sameDay: '[oxhi à] LT',
|
|
|
|
nextDay: '[demà à] LT',
|
|
|
|
nextWeek: 'dddd [à] LT',
|
|
|
|
lastDay: '[ieiri à] LT',
|
|
|
|
lastWeek: '[sür el] dddd [lasteu à] LT',
|
|
|
|
sameElse: 'L',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
relativeTime: {
|
|
|
|
future: 'osprei %s',
|
|
|
|
past: 'ja%s',
|
|
|
|
s: processRelativeTime,
|
|
|
|
ss: processRelativeTime,
|
|
|
|
m: processRelativeTime,
|
|
|
|
mm: processRelativeTime,
|
|
|
|
h: processRelativeTime,
|
|
|
|
hh: processRelativeTime,
|
|
|
|
d: processRelativeTime,
|
|
|
|
dd: processRelativeTime,
|
|
|
|
M: processRelativeTime,
|
|
|
|
MM: processRelativeTime,
|
|
|
|
y: processRelativeTime,
|
|
|
|
yy: processRelativeTime,
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
2020-11-11 09:34:26 +08:00
|
|
|
ordinal: '%d.',
|
|
|
|
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 15:15:53 +08:00
|
|
|
});
|
2017-04-20 12:24:20 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
|
|
var format = {
|
2020-11-11 09:34:26 +08:00
|
|
|
s: ['viensas secunds', "'iensas secunds"],
|
|
|
|
ss: [number + ' secunds', '' + number + ' secunds'],
|
|
|
|
m: ["'n míut", "'iens míut"],
|
|
|
|
mm: [number + ' míuts', '' + number + ' míuts'],
|
|
|
|
h: ["'n þora", "'iensa þora"],
|
|
|
|
hh: [number + ' þoras', '' + number + ' þoras'],
|
|
|
|
d: ["'n ziua", "'iensa ziua"],
|
|
|
|
dd: [number + ' ziuas', '' + number + ' ziuas'],
|
|
|
|
M: ["'n mes", "'iens mes"],
|
|
|
|
MM: [number + ' mesen', '' + number + ' mesen'],
|
|
|
|
y: ["'n ar", "'iens ar"],
|
|
|
|
yy: [number + ' ars', '' + number + ' ars'],
|
2018-04-26 15:15:53 +08:00
|
|
|
};
|
2020-11-11 09:34:26 +08:00
|
|
|
return isFuture
|
|
|
|
? format[key][0]
|
|
|
|
: withoutSuffix
|
2024-03-11 10:04:51 +08:00
|
|
|
? format[key][0]
|
|
|
|
: format[key][1];
|
2018-04-26 15:15:53 +08:00
|
|
|
}
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
return tzl;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
})));
|