aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/lv
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/locale/lv')
-rw-r--r--node_modules/date-fns/locale/lv/_lib/formatDistance/index.js109
-rw-r--r--node_modules/date-fns/locale/lv/_lib/formatLong/index.js43
-rw-r--r--node_modules/date-fns/locale/lv/_lib/formatRelative/index.js39
-rw-r--r--node_modules/date-fns/locale/lv/_lib/localize/index.js150
-rw-r--r--node_modules/date-fns/locale/lv/_lib/match/index.js110
-rw-r--r--node_modules/date-fns/locale/lv/index.d.ts4
-rw-r--r--node_modules/date-fns/locale/lv/index.js35
-rw-r--r--node_modules/date-fns/locale/lv/index.js.flow35
-rw-r--r--node_modules/date-fns/locale/lv/package.json5
9 files changed, 530 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/lv/_lib/formatDistance/index.js b/node_modules/date-fns/locale/lv/_lib/formatDistance/index.js
new file mode 100644
index 0000000..18aa713
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/_lib/formatDistance/index.js
@@ -0,0 +1,109 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+function buildLocalizeTokenFn(schema) {
+ return function (count, options) {
+ if (count === 1) {
+ if (options !== null && options !== void 0 && options.addSuffix) {
+ return schema.one[0].replace('{{time}}', schema.one[2]);
+ } else {
+ return schema.one[0].replace('{{time}}', schema.one[1]);
+ }
+ } else {
+ var rem = count % 10 === 1 && count % 100 !== 11;
+ if (options !== null && options !== void 0 && options.addSuffix) {
+ return schema.other[0].replace('{{time}}', rem ? schema.other[3] : schema.other[4]).replace('{{count}}', String(count));
+ } else {
+ return schema.other[0].replace('{{time}}', rem ? schema.other[1] : schema.other[2]).replace('{{count}}', String(count));
+ }
+ }
+ };
+}
+var formatDistanceLocale = {
+ lessThanXSeconds: buildLocalizeTokenFn({
+ one: ['mazāk par {{time}}', 'sekundi', 'sekundi'],
+ other: ['mazāk nekā {{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm']
+ }),
+ xSeconds: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'sekunde', 'sekundes'],
+ other: ['{{count}} {{time}}', 'sekunde', 'sekundes', 'sekundes', 'sekundēm']
+ }),
+ halfAMinute: function halfAMinute(_count, options) {
+ if (options !== null && options !== void 0 && options.addSuffix) {
+ return 'pusminūtes';
+ } else {
+ return 'pusminūte';
+ }
+ },
+ lessThanXMinutes: buildLocalizeTokenFn({
+ one: ['mazāk par {{time}}', 'minūti', 'minūti'],
+ other: ['mazāk nekā {{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm']
+ }),
+ xMinutes: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'minūte', 'minūtes'],
+ other: ['{{count}} {{time}}', 'minūte', 'minūtes', 'minūtes', 'minūtēm']
+ }),
+ aboutXHours: buildLocalizeTokenFn({
+ one: ['apmēram 1 {{time}}', 'stunda', 'stundas'],
+ other: ['apmēram {{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām']
+ }),
+ xHours: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'stunda', 'stundas'],
+ other: ['{{count}} {{time}}', 'stunda', 'stundas', 'stundas', 'stundām']
+ }),
+ xDays: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'diena', 'dienas'],
+ other: ['{{count}} {{time}}', 'diena', 'dienas', 'dienas', 'dienām']
+ }),
+ aboutXWeeks: buildLocalizeTokenFn({
+ one: ['apmēram 1 {{time}}', 'nedēļa', 'nedēļas'],
+ other: ['apmēram {{count}} {{time}}', 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām']
+ }),
+ xWeeks: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'nedēļa', 'nedēļas'],
+ other: ['{{count}} {{time}}',
+ // TODO
+ 'nedēļa', 'nedēļu', 'nedēļas', 'nedēļām']
+ }),
+ aboutXMonths: buildLocalizeTokenFn({
+ one: ['apmēram 1 {{time}}', 'mēnesis', 'mēneša'],
+ other: ['apmēram {{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem']
+ }),
+ xMonths: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'mēnesis', 'mēneša'],
+ other: ['{{count}} {{time}}', 'mēnesis', 'mēneši', 'mēneša', 'mēnešiem']
+ }),
+ aboutXYears: buildLocalizeTokenFn({
+ one: ['apmēram 1 {{time}}', 'gads', 'gada'],
+ other: ['apmēram {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']
+ }),
+ xYears: buildLocalizeTokenFn({
+ one: ['1 {{time}}', 'gads', 'gada'],
+ other: ['{{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']
+ }),
+ overXYears: buildLocalizeTokenFn({
+ one: ['ilgāk par 1 {{time}}', 'gadu', 'gadu'],
+ other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']
+ }),
+ almostXYears: buildLocalizeTokenFn({
+ one: ['gandrīz 1 {{time}}', 'gads', 'gada'],
+ other: ['vairāk nekā {{count}} {{time}}', 'gads', 'gadi', 'gada', 'gadiem']
+ })
+};
+var formatDistance = function formatDistance(token, count, options) {
+ var result = formatDistanceLocale[token](count, options);
+ if (options !== null && options !== void 0 && options.addSuffix) {
+ if (options.comparison && options.comparison > 0) {
+ return 'pēc ' + result;
+ } else {
+ return 'pirms ' + result;
+ }
+ }
+ 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/lv/_lib/formatLong/index.js b/node_modules/date-fns/locale/lv/_lib/formatLong/index.js
new file mode 100644
index 0000000..8e78206
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/_lib/formatLong/index.js
@@ -0,0 +1,43 @@
+"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, y. 'gada' d. MMMM",
+ long: "y. 'gada' d. MMMM",
+ medium: 'dd.MM.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}} 'plkst.' {{time}}",
+ long: "{{date}} 'plkst.' {{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/lv/_lib/formatRelative/index.js b/node_modules/date-fns/locale/lv/_lib/formatRelative/index.js
new file mode 100644
index 0000000..cbfdb8b
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/_lib/formatRelative/index.js
@@ -0,0 +1,39 @@
+"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 = ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā'];
+var formatRelativeLocale = {
+ lastWeek: function lastWeek(date, baseDate, options) {
+ if ((0, _index.default)(date, baseDate, options)) {
+ return "eeee 'plkst.' p";
+ }
+ var weekday = weekdays[date.getUTCDay()];
+ return "'Pagājušā " + weekday + " plkst.' p";
+ },
+ yesterday: "'Vakar plkst.' p",
+ today: "'Šodien plkst.' p",
+ tomorrow: "'Rīt plkst.' p",
+ nextWeek: function nextWeek(date, baseDate, options) {
+ if ((0, _index.default)(date, baseDate, options)) {
+ return "eeee 'plkst.' p";
+ }
+ var weekday = weekdays[date.getUTCDay()];
+ return "'Nākamajā " + weekday + " plkst.' p";
+ },
+ 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/lv/_lib/localize/index.js b/node_modules/date-fns/locale/lv/_lib/localize/index.js
new file mode 100644
index 0000000..3e01f1f
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/_lib/localize/index.js
@@ -0,0 +1,150 @@
+"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: ['p.m.ē', 'm.ē'],
+ abbreviated: ['p. m. ē.', 'm. ē.'],
+ wide: ['pirms mūsu ēras', 'mūsu ērā']
+};
+var quarterValues = {
+ narrow: ['1', '2', '3', '4'],
+ abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'],
+ wide: ['pirmais ceturksnis', 'otrais ceturksnis', 'trešais ceturksnis', 'ceturtais ceturksnis']
+};
+var formattingQuarterValues = {
+ narrow: ['1', '2', '3', '4'],
+ abbreviated: ['1. cet.', '2. cet.', '3. cet.', '4. cet.'],
+ wide: ['pirmajā ceturksnī', 'otrajā ceturksnī', 'trešajā ceturksnī', 'ceturtajā ceturksnī']
+};
+var monthValues = {
+ narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
+ abbreviated: ['janv.', 'febr.', 'marts', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'],
+ wide: ['janvāris', 'februāris', 'marts', 'aprīlis', 'maijs', 'jūnijs', 'jūlijs', 'augusts', 'septembris', 'oktobris', 'novembris', 'decembris']
+};
+var formattingMonthValues = {
+ narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
+ abbreviated: ['janv.', 'febr.', 'martā', 'apr.', 'maijs', 'jūn.', 'jūl.', 'aug.', 'sept.', 'okt.', 'nov.', 'dec.'],
+ wide: ['janvārī', 'februārī', 'martā', 'aprīlī', 'maijā', 'jūnijā', 'jūlijā', 'augustā', 'septembrī', 'oktobrī', 'novembrī', 'decembrī']
+};
+var dayValues = {
+ narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'],
+ short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'],
+ abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'],
+ wide: ['svētdiena', 'pirmdiena', 'otrdiena', 'trešdiena', 'ceturtdiena', 'piektdiena', 'sestdiena']
+};
+var formattingDayValues = {
+ narrow: ['S', 'P', 'O', 'T', 'C', 'P', 'S'],
+ short: ['Sv', 'P', 'O', 'T', 'C', 'Pk', 'S'],
+ abbreviated: ['svētd.', 'pirmd.', 'otrd.', 'trešd.', 'ceturtd.', 'piektd.', 'sestd.'],
+ wide: ['svētdienā', 'pirmdienā', 'otrdienā', 'trešdienā', 'ceturtdienā', 'piektdienā', 'sestdienā']
+};
+var dayPeriodValues = {
+ narrow: {
+ am: 'am',
+ pm: 'pm',
+ midnight: 'pusn.',
+ noon: 'pusd.',
+ morning: 'rīts',
+ afternoon: 'diena',
+ evening: 'vakars',
+ night: 'nakts'
+ },
+ abbreviated: {
+ am: 'am',
+ pm: 'pm',
+ midnight: 'pusn.',
+ noon: 'pusd.',
+ morning: 'rīts',
+ afternoon: 'pēcpusd.',
+ evening: 'vakars',
+ night: 'nakts'
+ },
+ wide: {
+ am: 'am',
+ pm: 'pm',
+ midnight: 'pusnakts',
+ noon: 'pusdienlaiks',
+ morning: 'rīts',
+ afternoon: 'pēcpusdiena',
+ evening: 'vakars',
+ night: 'nakts'
+ }
+};
+var formattingDayPeriodValues = {
+ narrow: {
+ am: 'am',
+ pm: 'pm',
+ midnight: 'pusn.',
+ noon: 'pusd.',
+ morning: 'rītā',
+ afternoon: 'dienā',
+ evening: 'vakarā',
+ night: 'naktī'
+ },
+ abbreviated: {
+ am: 'am',
+ pm: 'pm',
+ midnight: 'pusn.',
+ noon: 'pusd.',
+ morning: 'rītā',
+ afternoon: 'pēcpusd.',
+ evening: 'vakarā',
+ night: 'naktī'
+ },
+ wide: {
+ am: 'am',
+ pm: 'pm',
+ midnight: 'pusnaktī',
+ noon: 'pusdienlaikā',
+ morning: 'rītā',
+ afternoon: 'pēcpusdienā',
+ evening: 'vakarā',
+ night: 'naktī'
+ }
+};
+var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
+ var number = Number(dirtyNumber);
+ return number + '.';
+};
+var localize = {
+ ordinalNumber: ordinalNumber,
+ era: (0, _index.default)({
+ values: eraValues,
+ defaultWidth: 'wide'
+ }),
+ quarter: (0, _index.default)({
+ values: quarterValues,
+ defaultWidth: 'wide',
+ formattingValues: formattingQuarterValues,
+ defaultFormattingWidth: 'wide',
+ argumentCallback: function argumentCallback(quarter) {
+ return quarter - 1;
+ }
+ }),
+ month: (0, _index.default)({
+ values: monthValues,
+ defaultWidth: 'wide',
+ formattingValues: formattingMonthValues,
+ defaultFormattingWidth: 'wide'
+ }),
+ day: (0, _index.default)({
+ values: dayValues,
+ defaultWidth: 'wide',
+ formattingValues: formattingDayValues,
+ defaultFormattingWidth: '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/lv/_lib/match/index.js b/node_modules/date-fns/locale/lv/_lib/match/index.js
new file mode 100644
index 0000000..31f66f9
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/_lib/match/index.js
@@ -0,0 +1,110 @@
+"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: /^(p\.m\.ē|m\.ē)/i,
+ abbreviated: /^(p\. m\. ē\.|m\. ē\.)/i,
+ wide: /^(pirms mūsu ēras|mūsu ērā)/i
+};
+var parseEraPatterns = {
+ any: [/^p/i, /^m/i]
+};
+var matchQuarterPatterns = {
+ narrow: /^[1234]/i,
+ abbreviated: /^[1234](\. cet\.)/i,
+ wide: /^(pirma(is|jā)|otra(is|jā)|treša(is|jā)|ceturta(is|jā)) ceturksn(is|ī)/i
+};
+var parseQuarterPatterns = {
+ narrow: [/^1/i, /^2/i, /^3/i, /^4/i],
+ abbreviated: [/^1/i, /^2/i, /^3/i, /^4/i],
+ wide: [/^p/i, /^o/i, /^t/i, /^c/i]
+};
+var matchMonthPatterns = {
+ narrow: /^[jfmasond]/i,
+ abbreviated: /^(janv\.|febr\.|marts|apr\.|maijs|jūn\.|jūl\.|aug\.|sept\.|okt\.|nov\.|dec\.)/i,
+ wide: /^(janvār(is|ī)|februār(is|ī)|mart[sā]|aprīl(is|ī)|maij[sā]|jūnij[sā]|jūlij[sā]|august[sā]|septembr(is|ī)|oktobr(is|ī)|novembr(is|ī)|decembr(is|ī))/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, /^jūn/i, /^jūl/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
+};
+var matchDayPatterns = {
+ narrow: /^[spotc]/i,
+ short: /^(sv|pi|o|t|c|pk|s)/i,
+ abbreviated: /^(svētd\.|pirmd\.|otrd.\|trešd\.|ceturtd\.|piektd\.|sestd\.)/i,
+ wide: /^(svētdien(a|ā)|pirmdien(a|ā)|otrdien(a|ā)|trešdien(a|ā)|ceturtdien(a|ā)|piektdien(a|ā)|sestdien(a|ā))/i
+};
+var parseDayPatterns = {
+ narrow: [/^s/i, /^p/i, /^o/i, /^t/i, /^c/i, /^p/i, /^s/i],
+ any: [/^sv/i, /^pi/i, /^o/i, /^t/i, /^c/i, /^p/i, /^se/i]
+};
+var matchDayPeriodPatterns = {
+ narrow: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|dien(a|ā)|vakar(s|ā)|nakt(s|ī))/,
+ abbreviated: /^(am|pm|pusn\.|pusd\.|rīt(s|ā)|pēcpusd\.|vakar(s|ā)|nakt(s|ī))/,
+ wide: /^(am|pm|pusnakt(s|ī)|pusdienlaik(s|ā)|rīt(s|ā)|pēcpusdien(a|ā)|vakar(s|ā)|nakt(s|ī))/i
+};
+var parseDayPeriodPatterns = {
+ any: {
+ am: /^am/i,
+ pm: /^pm/i,
+ midnight: /^pusn/i,
+ noon: /^pusd/i,
+ morning: /^r/i,
+ afternoon: /^(d|pēc)/i,
+ evening: /^v/i,
+ night: /^n/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: 'wide',
+ 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: 'wide',
+ parsePatterns: parseDayPeriodPatterns,
+ defaultParseWidth: 'any'
+ })
+};
+var _default = match;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/lv/index.d.ts b/node_modules/date-fns/locale/lv/index.d.ts
new file mode 100644
index 0000000..14686a2
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/index.d.ts
@@ -0,0 +1,4 @@
+// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
+
+import { lv } from 'date-fns/locale'
+export default lv
diff --git a/node_modules/date-fns/locale/lv/index.js b/node_modules/date-fns/locale/lv/index.js
new file mode 100644
index 0000000..5a67474
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/index.js
@@ -0,0 +1,35 @@
+"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/formatDistance/index.js"));
+var _index2 = _interopRequireDefault(require("./_lib/formatLong/index.js"));
+var _index3 = _interopRequireDefault(require("./_lib/formatRelative/index.js"));
+var _index4 = _interopRequireDefault(require("./_lib/localize/index.js"));
+var _index5 = _interopRequireDefault(require("./_lib/match/index.js"));
+/**
+ * @type {Locale}
+ * @category Locales
+ * @summary Latvian locale (Latvia).
+ * @language Latvian
+ * @iso-639-2 lav
+ * @author Rūdolfs Puķītis [@prudolfs]{@link https://github.com/prudolfs}
+ */
+var locale = {
+ code: 'lv',
+ formatDistance: _index.default,
+ formatLong: _index2.default,
+ formatRelative: _index3.default,
+ localize: _index4.default,
+ match: _index5.default,
+ options: {
+ weekStartsOn: 1 /* Monday */,
+ firstWeekContainsDate: 4
+ }
+};
+var _default = locale;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/lv/index.js.flow b/node_modules/date-fns/locale/lv/index.js.flow
new file mode 100644
index 0000000..b9dfe66
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/index.js.flow
@@ -0,0 +1,35 @@
+// @flow
+// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
+
+export type Locale = {
+ code?: string,
+ formatDistance?: (...args: Array<any>) => any,
+ formatRelative?: (...args: Array<any>) => any,
+ localize?: {
+ ordinalNumber: (...args: Array<any>) => any,
+ era: (...args: Array<any>) => any,
+ quarter: (...args: Array<any>) => any,
+ month: (...args: Array<any>) => any,
+ day: (...args: Array<any>) => any,
+ dayPeriod: (...args: Array<any>) => any,
+ },
+ formatLong?: {
+ date: (...args: Array<any>) => any,
+ time: (...args: Array<any>) => any,
+ dateTime: (...args: Array<any>) => any,
+ },
+ match?: {
+ ordinalNumber: (...args: Array<any>) => any,
+ era: (...args: Array<any>) => any,
+ quarter: (...args: Array<any>) => any,
+ month: (...args: Array<any>) => any,
+ day: (...args: Array<any>) => any,
+ dayPeriod: (...args: Array<any>) => any,
+ },
+ options?: {
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6,
+ firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7,
+ },
+}
+
+declare module.exports: Locale
diff --git a/node_modules/date-fns/locale/lv/package.json b/node_modules/date-fns/locale/lv/package.json
new file mode 100644
index 0000000..c5c0bf4
--- /dev/null
+++ b/node_modules/date-fns/locale/lv/package.json
@@ -0,0 +1,5 @@
+{
+ "sideEffects": false,
+ "module": "../../esm/locale/lv/index.js",
+ "typings": "../../typings.d.ts"
+} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage