hugoWebsite/node_modules/date-fns/locale/fy/_lib/localize/index.js

99 lines
2.5 KiB
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var eraValues = {
narrow: ['f.K.', 'n.K.'],
abbreviated: ['f.Kr.', 'n.Kr.'],
wide: ['foar Kristus', 'nei Kristus']
};
var quarterValues = {
narrow: ['1', '2', '3', '4'],
abbreviated: ['K1', 'K2', 'K3', 'K4'],
wide: ['1e fearnsjier', '2e fearnsjier', '3e fearnsjier', '4e fearnsjier']
};
var monthValues = {
narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],
abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mai.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'],
wide: ['jannewaris', 'febrewaris', 'maart', 'april', 'maaie', 'juny', 'july', 'augustus', 'septimber', 'oktober', 'novimber', 'desimber']
};
var dayValues = {
narrow: ['s', 'm', 't', 'w', 't', 'f', 's'],
short: ['si', 'mo', 'ti', 'wo', 'to', 'fr', 'so'],
abbreviated: ['snein', 'moa', 'tii', 'woa', 'ton', 'fre', 'sneon'],
wide: ['snein', 'moandei', 'tiisdei', 'woansdei', 'tongersdei', 'freed', 'sneon']
};
var dayPeriodValues = {
narrow: {
am: 'AM',
pm: 'PM',
midnight: 'middernacht',
noon: 'middei',
morning: 'moarns',
afternoon: 'middeis',
evening: 'jûns',
night: 'nachts'
},
abbreviated: {
am: 'AM',
pm: 'PM',
midnight: 'middernacht',
noon: 'middei',
morning: 'moarns',
afternoon: 'middeis',
evening: 'jûns',
night: 'nachts'
},
wide: {
am: 'AM',
pm: 'PM',
midnight: 'middernacht',
noon: 'middei',
morning: 'moarns',
afternoon: 'middeis',
evening: 'jûns',
night: 'nachts'
}
};
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
var number = Number(dirtyNumber);
return number + 'e';
};
var localize = {
ordinalNumber: ordinalNumber,
era: (0, _index.default)({
values: eraValues,
defaultWidth: 'wide'
}),
quarter: (0, _index.default)({
values: quarterValues,
defaultWidth: 'wide',
argumentCallback: function argumentCallback(quarter) {
return quarter - 1;
}
}),
month: (0, _index.default)({
values: monthValues,
defaultWidth: 'wide'
}),
day: (0, _index.default)({
values: dayValues,
defaultWidth: 'wide'
}),
dayPeriod: (0, _index.default)({
values: dayPeriodValues,
defaultWidth: 'wide'
})
};
var _default = localize;
exports.default = _default;
module.exports = exports.default;