aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/it/_lib
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-06-29 11:49:28 -0700
committerPinapelz <yukais@pinapelz.com>2025-06-29 11:49:28 -0700
commitd55b767039605256c736166a942a9138e3eacfd7 (patch)
tree947063b634c50d438a794325f13275e134aa5993 /node_modules/date-fns/locale/it/_lib
parent864ce67d89c77d8ef9c3361f80d619853abcf91c (diff)
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/locale/it/_lib')
-rw-r--r--node_modules/date-fns/locale/it/_lib/formatDistance/index.js91
-rw-r--r--node_modules/date-fns/locale/it/_lib/formatLong/index.js43
-rw-r--r--node_modules/date-fns/locale/it/_lib/formatRelative/index.js60
-rw-r--r--node_modules/date-fns/locale/it/_lib/localize/index.js128
-rw-r--r--node_modules/date-fns/locale/it/_lib/match/index.js107
5 files changed, 0 insertions, 429 deletions
diff --git a/node_modules/date-fns/locale/it/_lib/formatDistance/index.js b/node_modules/date-fns/locale/it/_lib/formatDistance/index.js
deleted file mode 100644
index b204187..0000000
--- a/node_modules/date-fns/locale/it/_lib/formatDistance/index.js
+++ /dev/null
@@ -1,91 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = void 0;
-var formatDistanceLocale = {
- lessThanXSeconds: {
- one: 'meno di un secondo',
- other: 'meno di {{count}} secondi'
- },
- xSeconds: {
- one: 'un secondo',
- other: '{{count}} secondi'
- },
- halfAMinute: 'alcuni secondi',
- lessThanXMinutes: {
- one: 'meno di un minuto',
- other: 'meno di {{count}} minuti'
- },
- xMinutes: {
- one: 'un minuto',
- other: '{{count}} minuti'
- },
- aboutXHours: {
- one: "circa un'ora",
- other: 'circa {{count}} ore'
- },
- xHours: {
- one: "un'ora",
- other: '{{count}} ore'
- },
- xDays: {
- one: 'un giorno',
- other: '{{count}} giorni'
- },
- aboutXWeeks: {
- one: 'circa una settimana',
- other: 'circa {{count}} settimane'
- },
- xWeeks: {
- one: 'una settimana',
- other: '{{count}} settimane'
- },
- aboutXMonths: {
- one: 'circa un mese',
- other: 'circa {{count}} mesi'
- },
- xMonths: {
- one: 'un mese',
- other: '{{count}} mesi'
- },
- aboutXYears: {
- one: 'circa un anno',
- other: 'circa {{count}} anni'
- },
- xYears: {
- one: 'un anno',
- other: '{{count}} anni'
- },
- overXYears: {
- one: 'più di un anno',
- other: 'più di {{count}} anni'
- },
- almostXYears: {
- one: 'quasi un anno',
- other: 'quasi {{count}} anni'
- }
-};
-var formatDistance = function formatDistance(token, count, options) {
- var result;
- var tokenValue = formatDistanceLocale[token];
- if (typeof tokenValue === 'string') {
- result = tokenValue;
- } else if (count === 1) {
- result = tokenValue.one;
- } else {
- result = tokenValue.other.replace('{{count}}', count.toString());
- }
- if (options !== null && options !== void 0 && options.addSuffix) {
- if (options.comparison && options.comparison > 0) {
- return 'tra ' + result;
- } else {
- return result + ' fa';
- }
- }
- return result;
-};
-var _default = formatDistance;
-exports.default = _default;
-module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/it/_lib/formatLong/index.js b/node_modules/date-fns/locale/it/_lib/formatLong/index.js
deleted file mode 100644
index bed3040..0000000
--- a/node_modules/date-fns/locale/it/_lib/formatLong/index.js
+++ /dev/null
@@ -1,43 +0,0 @@
-"use strict";
-
-var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = void 0;
-var _index = _interopRequireDefault(require("../../../_lib/buildFormatLongFn/index.js"));
-var dateFormats = {
- full: 'EEEE d MMMM y',
- long: 'd MMMM y',
- medium: 'd MMM y',
- short: 'dd/MM/y'
-};
-var timeFormats = {
- full: 'HH:mm:ss zzzz',
- long: 'HH:mm:ss z',
- medium: 'HH:mm:ss',
- short: 'HH:mm'
-};
-var dateTimeFormats = {
- full: '{{date}} {{time}}',
- long: '{{date}} {{time}}',
- medium: '{{date}} {{time}}',
- short: '{{date}} {{time}}'
-};
-var formatLong = {
- date: (0, _index.default)({
- formats: dateFormats,
- defaultWidth: 'full'
- }),
- time: (0, _index.default)({
- formats: timeFormats,
- defaultWidth: 'full'
- }),
- dateTime: (0, _index.default)({
- formats: dateTimeFormats,
- defaultWidth: 'full'
- })
-};
-var _default = formatLong;
-exports.default = _default;
-module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/it/_lib/formatRelative/index.js b/node_modules/date-fns/locale/it/_lib/formatRelative/index.js
deleted file mode 100644
index 7fafec2..0000000
--- a/node_modules/date-fns/locale/it/_lib/formatRelative/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-"use strict";
-
-var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = void 0;
-var _index = _interopRequireDefault(require("../../../../_lib/isSameUTCWeek/index.js"));
-var weekdays = ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato'];
-function _lastWeek(day) {
- switch (day) {
- case 0:
- return "'domenica scorsa alle' p";
- default:
- return "'" + weekdays[day] + " scorso alle' p";
- }
-}
-function thisWeek(day) {
- return "'" + weekdays[day] + " alle' p";
-}
-function _nextWeek(day) {
- switch (day) {
- case 0:
- return "'domenica prossima alle' p";
- default:
- return "'" + weekdays[day] + " prossimo alle' p";
- }
-}
-var formatRelativeLocale = {
- lastWeek: function lastWeek(date, baseDate, options) {
- var day = date.getUTCDay();
- if ((0, _index.default)(date, baseDate, options)) {
- return thisWeek(day);
- } else {
- return _lastWeek(day);
- }
- },
- yesterday: "'ieri alle' p",
- today: "'oggi alle' p",
- tomorrow: "'domani alle' p",
- nextWeek: function nextWeek(date, baseDate, options) {
- var day = date.getUTCDay();
- if ((0, _index.default)(date, baseDate, options)) {
- return thisWeek(day);
- } else {
- return _nextWeek(day);
- }
- },
- other: 'P'
-};
-var formatRelative = function formatRelative(token, date, baseDate, options) {
- var format = formatRelativeLocale[token];
- if (typeof format === 'function') {
- return format(date, baseDate, options);
- }
- return format;
-};
-var _default = formatRelative;
-exports.default = _default;
-module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/it/_lib/localize/index.js b/node_modules/date-fns/locale/it/_lib/localize/index.js
deleted file mode 100644
index 18b5d82..0000000
--- a/node_modules/date-fns/locale/it/_lib/localize/index.js
+++ /dev/null
@@ -1,128 +0,0 @@
-"use strict";
-
-var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = void 0;
-var _index = _interopRequireDefault(require("../../../_lib/buildLocalizeFn/index.js"));
-var eraValues = {
- narrow: ['aC', 'dC'],
- abbreviated: ['a.C.', 'd.C.'],
- wide: ['avanti Cristo', 'dopo Cristo']
-};
-var quarterValues = {
- narrow: ['1', '2', '3', '4'],
- abbreviated: ['T1', 'T2', 'T3', 'T4'],
- wide: ['1º trimestre', '2º trimestre', '3º trimestre', '4º trimestre']
-};
-var monthValues = {
- narrow: ['G', 'F', 'M', 'A', 'M', 'G', 'L', 'A', 'S', 'O', 'N', 'D'],
- abbreviated: ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'],
- wide: ['gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre']
-};
-var dayValues = {
- narrow: ['D', 'L', 'M', 'M', 'G', 'V', 'S'],
- short: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
- abbreviated: ['dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab'],
- wide: ['domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato']
-};
-var dayPeriodValues = {
- narrow: {
- am: 'm.',
- pm: 'p.',
- midnight: 'mezzanotte',
- noon: 'mezzogiorno',
- morning: 'mattina',
- afternoon: 'pomeriggio',
- evening: 'sera',
- night: 'notte'
- },
- abbreviated: {
- am: 'AM',
- pm: 'PM',
- midnight: 'mezzanotte',
- noon: 'mezzogiorno',
- morning: 'mattina',
- afternoon: 'pomeriggio',
- evening: 'sera',
- night: 'notte'
- },
- wide: {
- am: 'AM',
- pm: 'PM',
- midnight: 'mezzanotte',
- noon: 'mezzogiorno',
- morning: 'mattina',
- afternoon: 'pomeriggio',
- evening: 'sera',
- night: 'notte'
- }
-};
-var formattingDayPeriodValues = {
- narrow: {
- am: 'm.',
- pm: 'p.',
- midnight: 'mezzanotte',
- noon: 'mezzogiorno',
- morning: 'di mattina',
- afternoon: 'del pomeriggio',
- evening: 'di sera',
- night: 'di notte'
- },
- abbreviated: {
- am: 'AM',
- pm: 'PM',
- midnight: 'mezzanotte',
- noon: 'mezzogiorno',
- morning: 'di mattina',
- afternoon: 'del pomeriggio',
- evening: 'di sera',
- night: 'di notte'
- },
- wide: {
- am: 'AM',
- pm: 'PM',
- midnight: 'mezzanotte',
- noon: 'mezzogiorno',
- morning: 'di mattina',
- afternoon: 'del pomeriggio',
- evening: 'di sera',
- night: 'di notte'
- }
-};
-var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
- var number = Number(dirtyNumber);
- return String(number);
-};
-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',
- formattingValues: formattingDayPeriodValues,
- defaultFormattingWidth: 'wide'
- })
-};
-var _default = localize;
-exports.default = _default;
-module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/it/_lib/match/index.js b/node_modules/date-fns/locale/it/_lib/match/index.js
deleted file mode 100644
index 1abdd40..0000000
--- a/node_modules/date-fns/locale/it/_lib/match/index.js
+++ /dev/null
@@ -1,107 +0,0 @@
-"use strict";
-
-var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = void 0;
-var _index = _interopRequireDefault(require("../../../_lib/buildMatchFn/index.js"));
-var _index2 = _interopRequireDefault(require("../../../_lib/buildMatchPatternFn/index.js"));
-var matchOrdinalNumberPattern = /^(\d+)(º)?/i;
-var parseOrdinalNumberPattern = /\d+/i;
-var matchEraPatterns = {
- narrow: /^(aC|dC)/i,
- abbreviated: /^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,
- wide: /^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i
-};
-var parseEraPatterns = {
- any: [/^a/i, /^(d|e)/i]
-};
-var matchQuarterPatterns = {
- narrow: /^[1234]/i,
- abbreviated: /^t[1234]/i,
- wide: /^[1234](º)? trimestre/i
-};
-var parseQuarterPatterns = {
- any: [/1/i, /2/i, /3/i, /4/i]
-};
-var matchMonthPatterns = {
- narrow: /^[gfmalsond]/i,
- abbreviated: /^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,
- wide: /^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i
-};
-var parseMonthPatterns = {
- narrow: [/^g/i, /^f/i, /^m/i, /^a/i, /^m/i, /^g/i, /^l/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
- any: [/^ge/i, /^f/i, /^mar/i, /^ap/i, /^mag/i, /^gi/i, /^l/i, /^ag/i, /^s/i, /^o/i, /^n/i, /^d/i]
-};
-var matchDayPatterns = {
- narrow: /^[dlmgvs]/i,
- short: /^(do|lu|ma|me|gi|ve|sa)/i,
- abbreviated: /^(dom|lun|mar|mer|gio|ven|sab)/i,
- wide: /^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i
-};
-var parseDayPatterns = {
- narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^g/i, /^v/i, /^s/i],
- any: [/^d/i, /^l/i, /^ma/i, /^me/i, /^g/i, /^v/i, /^s/i]
-};
-var matchDayPeriodPatterns = {
- narrow: /^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,
- any: /^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i
-};
-var parseDayPeriodPatterns = {
- any: {
- am: /^a/i,
- pm: /^p/i,
- midnight: /^mezza/i,
- noon: /^mezzo/i,
- morning: /mattina/i,
- afternoon: /pomeriggio/i,
- evening: /sera/i,
- night: /notte/i
- }
-};
-var match = {
- ordinalNumber: (0, _index2.default)({
- matchPattern: matchOrdinalNumberPattern,
- parsePattern: parseOrdinalNumberPattern,
- valueCallback: function valueCallback(value) {
- return parseInt(value, 10);
- }
- }),
- era: (0, _index.default)({
- matchPatterns: matchEraPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseEraPatterns,
- defaultParseWidth: 'any'
- }),
- quarter: (0, _index.default)({
- matchPatterns: matchQuarterPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseQuarterPatterns,
- defaultParseWidth: 'any',
- valueCallback: function valueCallback(index) {
- return index + 1;
- }
- }),
- month: (0, _index.default)({
- matchPatterns: matchMonthPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseMonthPatterns,
- defaultParseWidth: 'any'
- }),
- day: (0, _index.default)({
- matchPatterns: matchDayPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseDayPatterns,
- defaultParseWidth: 'any'
- }),
- dayPeriod: (0, _index.default)({
- matchPatterns: matchDayPeriodPatterns,
- defaultMatchWidth: 'any',
- parsePatterns: parseDayPeriodPatterns,
- defaultParseWidth: 'any'
- })
-};
-var _default = match;
-exports.default = _default;
-module.exports = exports.default; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage