aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/esm/locale/nn/_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/esm/locale/nn/_lib
parent864ce67d89c77d8ef9c3361f80d619853abcf91c (diff)
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/esm/locale/nn/_lib')
-rw-r--r--node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js88
-rw-r--r--node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js34
-rw-r--r--node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js12
-rw-r--r--node_modules/date-fns/esm/locale/nn/_lib/localize/index.js85
-rw-r--r--node_modules/date-fns/esm/locale/nn/_lib/match/index.js97
5 files changed, 0 insertions, 316 deletions
diff --git a/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js b/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js
deleted file mode 100644
index 406551e..0000000
--- a/node_modules/date-fns/esm/locale/nn/_lib/formatDistance/index.js
+++ /dev/null
@@ -1,88 +0,0 @@
-var formatDistanceLocale = {
- lessThanXSeconds: {
- one: 'mindre enn eitt sekund',
- other: 'mindre enn {{count}} sekund'
- },
- xSeconds: {
- one: 'eitt sekund',
- other: '{{count}} sekund'
- },
- halfAMinute: 'eit halvt minutt',
- lessThanXMinutes: {
- one: 'mindre enn eitt minutt',
- other: 'mindre enn {{count}} minutt'
- },
- xMinutes: {
- one: 'eitt minutt',
- other: '{{count}} minutt'
- },
- aboutXHours: {
- one: 'omtrent ein time',
- other: 'omtrent {{count}} timar'
- },
- xHours: {
- one: 'ein time',
- other: '{{count}} timar'
- },
- xDays: {
- one: 'ein dag',
- other: '{{count}} dagar'
- },
- aboutXWeeks: {
- one: 'omtrent ei veke',
- other: 'omtrent {{count}} veker'
- },
- xWeeks: {
- one: 'ei veke',
- other: '{{count}} veker'
- },
- aboutXMonths: {
- one: 'omtrent ein månad',
- other: 'omtrent {{count}} månader'
- },
- xMonths: {
- one: 'ein månad',
- other: '{{count}} månader'
- },
- aboutXYears: {
- one: 'omtrent eitt år',
- other: 'omtrent {{count}} år'
- },
- xYears: {
- one: 'eitt år',
- other: '{{count}} år'
- },
- overXYears: {
- one: 'over eitt år',
- other: 'over {{count}} år'
- },
- almostXYears: {
- one: 'nesten eitt år',
- other: 'nesten {{count}} år'
- }
-};
-var wordMapping = ['null', 'ein', 'to', 'tre', 'fire', 'fem', 'seks', 'sju', 'åtte', 'ni', 'ti', 'elleve', 'tolv'];
-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 {
- if (options && options.onlyNumeric) {
- result = tokenValue.other.replace('{{count}}', String(count));
- } else {
- result = tokenValue.other.replace('{{count}}', count < 13 ? wordMapping[count] : String(count));
- }
- }
- if (options !== null && options !== void 0 && options.addSuffix) {
- if (options.comparison && options.comparison > 0) {
- return 'om ' + result;
- } else {
- return result + ' sidan';
- }
- }
- return result;
-};
-export default formatDistance; \ No newline at end of file
diff --git a/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js
deleted file mode 100644
index eff17ba..0000000
--- a/node_modules/date-fns/esm/locale/nn/_lib/formatLong/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import buildFormatLongFn from "../../../_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: "'kl'. HH:mm:ss zzzz",
- long: 'HH:mm:ss z',
- medium: 'HH:mm:ss',
- short: 'HH:mm'
-};
-var dateTimeFormats = {
- full: "{{date}} 'kl.' {{time}}",
- long: "{{date}} 'kl.' {{time}}",
- medium: '{{date}} {{time}}',
- short: '{{date}} {{time}}'
-};
-var formatLong = {
- date: buildFormatLongFn({
- formats: dateFormats,
- defaultWidth: 'full'
- }),
- time: buildFormatLongFn({
- formats: timeFormats,
- defaultWidth: 'full'
- }),
- dateTime: buildFormatLongFn({
- formats: dateTimeFormats,
- defaultWidth: 'full'
- })
-};
-export default formatLong; \ No newline at end of file
diff --git a/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js b/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js
deleted file mode 100644
index 38352de..0000000
--- a/node_modules/date-fns/esm/locale/nn/_lib/formatRelative/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-var formatRelativeLocale = {
- lastWeek: "'førre' eeee 'kl.' p",
- yesterday: "'i går kl.' p",
- today: "'i dag kl.' p",
- tomorrow: "'i morgon kl.' p",
- nextWeek: "EEEE 'kl.' p",
- other: 'P'
-};
-var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
- return formatRelativeLocale[token];
-};
-export default formatRelative; \ No newline at end of file
diff --git a/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js b/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js
deleted file mode 100644
index 9e8d242..0000000
--- a/node_modules/date-fns/esm/locale/nn/_lib/localize/index.js
+++ /dev/null
@@ -1,85 +0,0 @@
-import buildLocalizeFn from "../../../_lib/buildLocalizeFn/index.js";
-var eraValues = {
- narrow: ['f.Kr.', 'e.Kr.'],
- abbreviated: ['f.Kr.', 'e.Kr.'],
- wide: ['før Kristus', 'etter Kristus']
-};
-var quarterValues = {
- narrow: ['1', '2', '3', '4'],
- abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
- wide: ['1. kvartal', '2. kvartal', '3. kvartal', '4. kvartal']
-};
-var monthValues = {
- narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
- abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'mai', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'des.'],
- wide: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember']
-};
-var dayValues = {
- narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],
- short: ['su', 'må', 'ty', 'on', 'to', 'fr', 'lau'],
- abbreviated: ['sun', 'mån', 'tys', 'ons', 'tor', 'fre', 'laur'],
- wide: ['sundag', 'måndag', 'tysdag', 'onsdag', 'torsdag', 'fredag', 'laurdag']
-};
-var dayPeriodValues = {
- narrow: {
- am: 'a',
- pm: 'p',
- midnight: 'midnatt',
- noon: 'middag',
- morning: 'på morg.',
- afternoon: 'på etterm.',
- evening: 'på kvelden',
- night: 'på natta'
- },
- abbreviated: {
- am: 'a.m.',
- pm: 'p.m.',
- midnight: 'midnatt',
- noon: 'middag',
- morning: 'på morg.',
- afternoon: 'på etterm.',
- evening: 'på kvelden',
- night: 'på natta'
- },
- wide: {
- am: 'a.m.',
- pm: 'p.m.',
- midnight: 'midnatt',
- noon: 'middag',
- morning: 'på morgonen',
- afternoon: 'på ettermiddagen',
- evening: 'på kvelden',
- night: 'på natta'
- }
-};
-var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
- var number = Number(dirtyNumber);
- return number + '.';
-};
-var localize = {
- ordinalNumber: ordinalNumber,
- era: buildLocalizeFn({
- values: eraValues,
- defaultWidth: 'wide'
- }),
- quarter: buildLocalizeFn({
- values: quarterValues,
- defaultWidth: 'wide',
- argumentCallback: function argumentCallback(quarter) {
- return quarter - 1;
- }
- }),
- month: buildLocalizeFn({
- values: monthValues,
- defaultWidth: 'wide'
- }),
- day: buildLocalizeFn({
- values: dayValues,
- defaultWidth: 'wide'
- }),
- dayPeriod: buildLocalizeFn({
- values: dayPeriodValues,
- defaultWidth: 'wide'
- })
-};
-export default localize; \ No newline at end of file
diff --git a/node_modules/date-fns/esm/locale/nn/_lib/match/index.js b/node_modules/date-fns/esm/locale/nn/_lib/match/index.js
deleted file mode 100644
index 6e35ef6..0000000
--- a/node_modules/date-fns/esm/locale/nn/_lib/match/index.js
+++ /dev/null
@@ -1,97 +0,0 @@
-import buildMatchFn from "../../../_lib/buildMatchFn/index.js";
-import buildMatchPatternFn from "../../../_lib/buildMatchPatternFn/index.js";
-var matchOrdinalNumberPattern = /^(\d+)\.?/i;
-var parseOrdinalNumberPattern = /\d+/i;
-var matchEraPatterns = {
- narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
- abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
- wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
-};
-var parseEraPatterns = {
- any: [/^f/i, /^e/i]
-};
-var matchQuarterPatterns = {
- narrow: /^[1234]/i,
- abbreviated: /^q[1234]/i,
- wide: /^[1234](\.)? kvartal/i
-};
-var parseQuarterPatterns = {
- any: [/1/i, /2/i, /3/i, /4/i]
-};
-var matchMonthPatterns = {
- narrow: /^[jfmasond]/i,
- abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,
- wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i
-};
-var parseMonthPatterns = {
- narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
- any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^aug/i, /^s/i, /^o/i, /^n/i, /^d/i]
-};
-var matchDayPatterns = {
- narrow: /^[smtofl]/i,
- short: /^(su|må|ty|on|to|fr|la)/i,
- abbreviated: /^(sun|mån|tys|ons|tor|fre|laur)/i,
- wide: /^(sundag|måndag|tysdag|onsdag|torsdag|fredag|laurdag)/i
-};
-var parseDayPatterns = {
- any: [/^s/i, /^m/i, /^ty/i, /^o/i, /^to/i, /^f/i, /^l/i]
-};
-var matchDayPeriodPatterns = {
- narrow: /^(midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta)|[ap])/i,
- any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgonen|ettermiddagen|kvelden|natta))/i
-};
-var parseDayPeriodPatterns = {
- any: {
- am: /^a(\.?\s?m\.?)?$/i,
- pm: /^p(\.?\s?m\.?)?$/i,
- midnight: /^midn/i,
- noon: /^midd/i,
- morning: /morgon/i,
- afternoon: /ettermiddag/i,
- evening: /kveld/i,
- night: /natt/i
- }
-};
-var match = {
- ordinalNumber: buildMatchPatternFn({
- matchPattern: matchOrdinalNumberPattern,
- parsePattern: parseOrdinalNumberPattern,
- valueCallback: function valueCallback(value) {
- return parseInt(value, 10);
- }
- }),
- era: buildMatchFn({
- matchPatterns: matchEraPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseEraPatterns,
- defaultParseWidth: 'any'
- }),
- quarter: buildMatchFn({
- matchPatterns: matchQuarterPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseQuarterPatterns,
- defaultParseWidth: 'any',
- valueCallback: function valueCallback(index) {
- return index + 1;
- }
- }),
- month: buildMatchFn({
- matchPatterns: matchMonthPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseMonthPatterns,
- defaultParseWidth: 'any'
- }),
- day: buildMatchFn({
- matchPatterns: matchDayPatterns,
- defaultMatchWidth: 'wide',
- parsePatterns: parseDayPatterns,
- defaultParseWidth: 'any'
- }),
- dayPeriod: buildMatchFn({
- matchPatterns: matchDayPeriodPatterns,
- defaultMatchWidth: 'any',
- parsePatterns: parseDayPeriodPatterns,
- defaultParseWidth: 'any'
- })
-};
-export default match; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage