UEA-PRODEM
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
import type { FormatDistanceFn } from "../../types.ts";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
import type { FormatDistanceFn } from "../../types.ts";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
import type { FormatLong } from "../../types.ts";
|
||||
export declare const formatLong: FormatLong;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
import type { FormatLong } from "../../types.ts";
|
||||
export declare const formatLong: FormatLong;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
import type { FormatRelativeFn } from "../../types.ts";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
import type { FormatRelativeFn } from "../../types.ts";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
import type { Localize } from "../../types.ts";
|
||||
export declare const localize: Localize;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
import type { Localize } from "../../types.ts";
|
||||
export declare const localize: Localize;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
import type { Match } from "../../types.ts";
|
||||
export declare const match: Match;
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
import type { Match } from "../../types.ts";
|
||||
export declare const match: Match;
|
||||
|
||||
+361
-335
@@ -1,168 +1,177 @@
|
||||
(() => {
|
||||
var _window$dateFns;function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}var __defProp = Object.defineProperty;
|
||||
var __export = function __export(target, all) {
|
||||
for (var name in all)
|
||||
__defProp(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
set: function set(newValue) {return all[name] = function () {return newValue;};}
|
||||
});
|
||||
};
|
||||
|
||||
// lib/locale/ka/_lib/formatDistance.js
|
||||
var _window$dateFns;function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(e, r, t) {return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : i + "";}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);} //#region dist/date-fns/locale/ka/_lib/formatDistance.js
|
||||
var formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
past: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8",
|
||||
future: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10E8\u10D8"
|
||||
past: "{{count}} წამზე ნაკლები ხნის წინ",
|
||||
present: "{{count}} წამზე ნაკლები",
|
||||
future: "{{count}} წამზე ნაკლებში"
|
||||
},
|
||||
xSeconds: {
|
||||
past: "{{count}} \u10EC\u10D0\u10DB\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D0\u10DB\u10D8",
|
||||
future: "{{count}} \u10EC\u10D0\u10DB\u10E8\u10D8"
|
||||
past: "{{count}} წამის წინ",
|
||||
present: "{{count}} წამი",
|
||||
future: "{{count}} წამში"
|
||||
},
|
||||
halfAMinute: {
|
||||
past: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10D8",
|
||||
future: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10E8\u10D8"
|
||||
past: "ნახევარი წუთის წინ",
|
||||
present: "ნახევარი წუთი",
|
||||
future: "ნახევარი წუთში"
|
||||
},
|
||||
lessThanXMinutes: {
|
||||
past: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8",
|
||||
future: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10E8\u10D8"
|
||||
past: "{{count}} წუთზე ნაკლები ხნის წინ",
|
||||
present: "{{count}} წუთზე ნაკლები",
|
||||
future: "{{count}} წუთზე ნაკლებში"
|
||||
},
|
||||
xMinutes: {
|
||||
past: "{{count}} \u10EC\u10E3\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10E3\u10D7\u10D8",
|
||||
future: "{{count}} \u10EC\u10E3\u10D7\u10E8\u10D8"
|
||||
past: "{{count}} წუთის წინ",
|
||||
present: "{{count}} წუთი",
|
||||
future: "{{count}} წუთში"
|
||||
},
|
||||
aboutXHours: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10D8",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10E8\u10D8"
|
||||
past: "დაახლოებით {{count}} საათის წინ",
|
||||
present: "დაახლოებით {{count}} საათი",
|
||||
future: "დაახლოებით {{count}} საათში"
|
||||
},
|
||||
xHours: {
|
||||
past: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10D8",
|
||||
future: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10E8\u10D8"
|
||||
past: "{{count}} საათის წინ",
|
||||
present: "{{count}} საათი",
|
||||
future: "{{count}} საათში"
|
||||
},
|
||||
xDays: {
|
||||
past: "{{count}} \u10D3\u10E6\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10D3\u10E6\u10D4",
|
||||
future: "{{count}} \u10D3\u10E6\u10D4\u10E8\u10D8"
|
||||
past: "{{count}} დღის წინ",
|
||||
present: "{{count}} დღე",
|
||||
future: "{{count}} დღეში"
|
||||
},
|
||||
aboutXWeeks: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E8\u10D8"
|
||||
past: "დაახლოებით {{count}} კვირას წინ",
|
||||
present: "დაახლოებით {{count}} კვირა",
|
||||
future: "დაახლოებით {{count}} კვირაში"
|
||||
},
|
||||
xWeeks: {
|
||||
past: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E1 \u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
present: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
future: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E8\u10D8"
|
||||
past: "{{count}} კვირას კვირა",
|
||||
present: "{{count}} კვირა",
|
||||
future: "{{count}} კვირაში"
|
||||
},
|
||||
aboutXMonths: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D4",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D4\u10E8\u10D8"
|
||||
past: "დაახლოებით {{count}} თვის წინ",
|
||||
present: "დაახლოებით {{count}} თვე",
|
||||
future: "დაახლოებით {{count}} თვეში"
|
||||
},
|
||||
xMonths: {
|
||||
past: "{{count}} \u10D7\u10D5\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10D7\u10D5\u10D4",
|
||||
future: "{{count}} \u10D7\u10D5\u10D4\u10E8\u10D8"
|
||||
past: "{{count}} თვის წინ",
|
||||
present: "{{count}} თვე",
|
||||
future: "{{count}} თვეში"
|
||||
},
|
||||
aboutXYears: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10D4\u10DA\u10D8",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
|
||||
past: "დაახლოებით {{count}} წლის წინ",
|
||||
present: "დაახლოებით {{count}} წელი",
|
||||
future: "დაახლოებით {{count}} წელში"
|
||||
},
|
||||
xYears: {
|
||||
past: "{{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D4\u10DA\u10D8",
|
||||
future: "{{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
|
||||
past: "{{count}} წლის წინ",
|
||||
present: "{{count}} წელი",
|
||||
future: "{{count}} წელში"
|
||||
},
|
||||
overXYears: {
|
||||
past: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8",
|
||||
future: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10E8\u10D4\u10DB\u10D3\u10D4\u10D2"
|
||||
past: "{{count}} წელზე მეტი ხნის წინ",
|
||||
present: "{{count}} წელზე მეტი",
|
||||
future: "{{count}} წელზე მეტი ხნის შემდეგ"
|
||||
},
|
||||
almostXYears: {
|
||||
past: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10D4\u10DA\u10D8",
|
||||
future: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
|
||||
past: "თითქმის {{count}} წლის წინ",
|
||||
present: "თითქმის {{count}} წელი",
|
||||
future: "თითქმის {{count}} წელში"
|
||||
}
|
||||
};
|
||||
var formatDistance = function formatDistance(token, count, options) {
|
||||
var result;
|
||||
var tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) {
|
||||
result = tokenValue.future.replace("{{count}}", String(count));
|
||||
} else if (options !== null && options !== void 0 && options.addSuffix) {
|
||||
result = tokenValue.past.replace("{{count}}", String(count));
|
||||
} else {
|
||||
result = tokenValue.present.replace("{{count}}", String(count));
|
||||
}
|
||||
if (typeof tokenValue === "string") result = tokenValue;else
|
||||
if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) result = tokenValue.future.replace("{{count}}", String(count));else
|
||||
if (options !== null && options !== void 0 && options.addSuffix) result = tokenValue.past.replace("{{count}}", String(count));else
|
||||
result = tokenValue.present.replace("{{count}}", String(count));
|
||||
return result;
|
||||
};
|
||||
|
||||
// lib/locale/_lib/buildFormatLongFn.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/_lib/buildFormatLongFn.js
|
||||
function buildFormatLongFn(args) {
|
||||
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
var width = options.width ? String(options.width) : args.defaultWidth;
|
||||
var format = args.formats[width] || args.formats[args.defaultWidth];
|
||||
return format;
|
||||
return args.formats[width] || args.formats[args.defaultWidth];
|
||||
};
|
||||
}
|
||||
|
||||
// lib/locale/ka/_lib/formatLong.js
|
||||
var dateFormats = {
|
||||
full: "EEEE, do MMMM, y",
|
||||
long: "do, MMMM, y",
|
||||
medium: "d, MMM, y",
|
||||
short: "dd/MM/yyyy"
|
||||
};
|
||||
var timeFormats = {
|
||||
full: "h:mm:ss a zzzz",
|
||||
long: "h:mm:ss a z",
|
||||
medium: "h:mm:ss a",
|
||||
short: "h:mm a"
|
||||
};
|
||||
var dateTimeFormats = {
|
||||
full: "{{date}} {{time}}'-\u10D6\u10D4'",
|
||||
long: "{{date}} {{time}}'-\u10D6\u10D4'",
|
||||
medium: "{{date}}, {{time}}",
|
||||
short: "{{date}}, {{time}}"
|
||||
};
|
||||
var formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
formats: dateFormats,
|
||||
formats: {
|
||||
full: "EEEE, do MMMM, y",
|
||||
long: "do, MMMM, y",
|
||||
medium: "d, MMM, y",
|
||||
short: "dd/MM/yyyy"
|
||||
},
|
||||
defaultWidth: "full"
|
||||
}),
|
||||
time: buildFormatLongFn({
|
||||
formats: timeFormats,
|
||||
formats: {
|
||||
full: "h:mm:ss a zzzz",
|
||||
long: "h:mm:ss a z",
|
||||
medium: "h:mm:ss a",
|
||||
short: "h:mm a"
|
||||
},
|
||||
defaultWidth: "full"
|
||||
}),
|
||||
dateTime: buildFormatLongFn({
|
||||
formats: dateTimeFormats,
|
||||
formats: {
|
||||
full: "{{date}} {{time}}'-ზე'",
|
||||
long: "{{date}} {{time}}'-ზე'",
|
||||
medium: "{{date}}, {{time}}",
|
||||
short: "{{date}}, {{time}}"
|
||||
},
|
||||
defaultWidth: "full"
|
||||
})
|
||||
};
|
||||
|
||||
// lib/locale/ka/_lib/formatRelative.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/ka/_lib/formatRelative.js
|
||||
var formatRelativeLocale = {
|
||||
lastWeek: "'\u10EC\u10D8\u10DC\u10D0' eeee p'-\u10D6\u10D4'",
|
||||
yesterday: "'\u10D2\u10E3\u10E8\u10D8\u10DC' p'-\u10D6\u10D4'",
|
||||
today: "'\u10D3\u10E6\u10D4\u10E1' p'-\u10D6\u10D4'",
|
||||
tomorrow: "'\u10EE\u10D5\u10D0\u10DA' p'-\u10D6\u10D4'",
|
||||
nextWeek: "'\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8' eeee p'-\u10D6\u10D4'",
|
||||
lastWeek: "'წინა' eeee p'-ზე'",
|
||||
yesterday: "'გუშინ' p'-ზე'",
|
||||
today: "'დღეს' p'-ზე'",
|
||||
tomorrow: "'ხვალ' p'-ზე'",
|
||||
nextWeek: "'შემდეგი' eeee p'-ზე'",
|
||||
other: "P"
|
||||
};
|
||||
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
|
||||
|
||||
// lib/locale/_lib/buildLocalizeFn.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/_lib/buildLocalizeFn.js
|
||||
/**
|
||||
* The localize function argument callback which allows to convert raw value to
|
||||
* the actual type.
|
||||
*
|
||||
* @param value - The value to convert
|
||||
*
|
||||
* @returns The converted value
|
||||
*/
|
||||
/**
|
||||
* The map of localized values for each width.
|
||||
*/
|
||||
/**
|
||||
* The index type of the locale unit value. It types conversion of units of
|
||||
* values that don't start at 0 (i.e. quarters).
|
||||
*/
|
||||
/**
|
||||
* Converts the unit value to the tuple of values.
|
||||
*/
|
||||
/**
|
||||
* The tuple of localized era values. The first element represents BC,
|
||||
* the second element represents AD.
|
||||
*/
|
||||
/**
|
||||
* The tuple of localized quarter values. The first element represents Q1.
|
||||
*/
|
||||
/**
|
||||
* The tuple of localized day values. The first element represents Sunday.
|
||||
*/
|
||||
/**
|
||||
* The tuple of localized month values. The first element represents January.
|
||||
*/
|
||||
function buildLocalizeFn(args) {
|
||||
return function (value, options) {
|
||||
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
||||
@@ -180,146 +189,183 @@ function buildLocalizeFn(args) {
|
||||
return valuesArray[index];
|
||||
};
|
||||
}
|
||||
|
||||
// lib/locale/ka/_lib/localize.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/ka/_lib/localize.js
|
||||
var eraValues = {
|
||||
narrow: ["\u10E9.\u10EC-\u10DB\u10D3\u10D4", "\u10E9.\u10EC"],
|
||||
abbreviated: ["\u10E9\u10D5.\u10EC-\u10DB\u10D3\u10D4", "\u10E9\u10D5.\u10EC"],
|
||||
wide: ["\u10E9\u10D5\u10D4\u10DC\u10E1 \u10EC\u10D4\u10DA\u10D7\u10D0\u10E6\u10E0\u10D8\u10EA\u10EE\u10D5\u10D0\u10DB\u10D3\u10D4", "\u10E9\u10D5\u10D4\u10DC\u10D8 \u10EC\u10D4\u10DA\u10D7\u10D0\u10E6\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8\u10D7"]
|
||||
narrow: ["ჩ.წ-მდე", "ჩ.წ"],
|
||||
abbreviated: ["ჩვ.წ-მდე", "ჩვ.წ"],
|
||||
wide: ["ჩვენს წელთაღრიცხვამდე", "ჩვენი წელთაღრიცხვით"]
|
||||
};
|
||||
var quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["1-\u10DA\u10D8 \u10D9\u10D5", "2-\u10D4 \u10D9\u10D5", "3-\u10D4 \u10D9\u10D5", "4-\u10D4 \u10D9\u10D5"],
|
||||
wide: ["1-\u10DA\u10D8 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "2-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "3-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "4-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8"]
|
||||
narrow: [
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4"],
|
||||
|
||||
abbreviated: [
|
||||
"1-ლი კვ",
|
||||
"2-ე კვ",
|
||||
"3-ე კვ",
|
||||
"4-ე კვ"],
|
||||
|
||||
wide: [
|
||||
"1-ლი კვარტალი",
|
||||
"2-ე კვარტალი",
|
||||
"3-ე კვარტალი",
|
||||
"4-ე კვარტალი"]
|
||||
|
||||
};
|
||||
var monthValues = {
|
||||
narrow: [
|
||||
"\u10D8\u10D0",
|
||||
"\u10D7\u10D4",
|
||||
"\u10DB\u10D0",
|
||||
"\u10D0\u10DE",
|
||||
"\u10DB\u10E1",
|
||||
"\u10D5\u10DC",
|
||||
"\u10D5\u10DA",
|
||||
"\u10D0\u10D2",
|
||||
"\u10E1\u10D4",
|
||||
"\u10DD\u10E5",
|
||||
"\u10DC\u10DD",
|
||||
"\u10D3\u10D4"],
|
||||
"ია",
|
||||
"თე",
|
||||
"მა",
|
||||
"აპ",
|
||||
"მს",
|
||||
"ვნ",
|
||||
"ვლ",
|
||||
"აგ",
|
||||
"სე",
|
||||
"ოქ",
|
||||
"ნო",
|
||||
"დე"],
|
||||
|
||||
abbreviated: [
|
||||
"\u10D8\u10D0\u10DC",
|
||||
"\u10D7\u10D4\u10D1",
|
||||
"\u10DB\u10D0\u10E0",
|
||||
"\u10D0\u10DE\u10E0",
|
||||
"\u10DB\u10D0\u10D8",
|
||||
"\u10D8\u10D5\u10DC",
|
||||
"\u10D8\u10D5\u10DA",
|
||||
"\u10D0\u10D2\u10D5",
|
||||
"\u10E1\u10D4\u10E5",
|
||||
"\u10DD\u10E5\u10E2",
|
||||
"\u10DC\u10DD\u10D4",
|
||||
"\u10D3\u10D4\u10D9"],
|
||||
"იან",
|
||||
"თებ",
|
||||
"მარ",
|
||||
"აპრ",
|
||||
"მაი",
|
||||
"ივნ",
|
||||
"ივლ",
|
||||
"აგვ",
|
||||
"სექ",
|
||||
"ოქტ",
|
||||
"ნოე",
|
||||
"დეკ"],
|
||||
|
||||
wide: [
|
||||
"\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8",
|
||||
"\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8",
|
||||
"\u10DB\u10D0\u10E0\u10E2\u10D8",
|
||||
"\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8",
|
||||
"\u10DB\u10D0\u10D8\u10E1\u10D8",
|
||||
"\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8",
|
||||
"\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8",
|
||||
"\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD",
|
||||
"\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8",
|
||||
"\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8",
|
||||
"\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8",
|
||||
"\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8"]
|
||||
"იანვარი",
|
||||
"თებერვალი",
|
||||
"მარტი",
|
||||
"აპრილი",
|
||||
"მაისი",
|
||||
"ივნისი",
|
||||
"ივლისი",
|
||||
"აგვისტო",
|
||||
"სექტემბერი",
|
||||
"ოქტომბერი",
|
||||
"ნოემბერი",
|
||||
"დეკემბერი"]
|
||||
|
||||
};
|
||||
var dayValues = {
|
||||
narrow: ["\u10D9\u10D5", "\u10DD\u10E0", "\u10E1\u10D0", "\u10DD\u10D7", "\u10EE\u10E3", "\u10DE\u10D0", "\u10E8\u10D0"],
|
||||
short: ["\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1"],
|
||||
abbreviated: ["\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1"],
|
||||
narrow: [
|
||||
"კვ",
|
||||
"ორ",
|
||||
"სა",
|
||||
"ოთ",
|
||||
"ხუ",
|
||||
"პა",
|
||||
"შა"],
|
||||
|
||||
short: [
|
||||
"კვი",
|
||||
"ორშ",
|
||||
"სამ",
|
||||
"ოთხ",
|
||||
"ხუთ",
|
||||
"პარ",
|
||||
"შაბ"],
|
||||
|
||||
abbreviated: [
|
||||
"კვი",
|
||||
"ორშ",
|
||||
"სამ",
|
||||
"ოთხ",
|
||||
"ხუთ",
|
||||
"პარ",
|
||||
"შაბ"],
|
||||
|
||||
wide: [
|
||||
"\u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
"\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8",
|
||||
"\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8"]
|
||||
"კვირა",
|
||||
"ორშაბათი",
|
||||
"სამშაბათი",
|
||||
"ოთხშაბათი",
|
||||
"ხუთშაბათი",
|
||||
"პარასკევი",
|
||||
"შაბათი"]
|
||||
|
||||
};
|
||||
var dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D0",
|
||||
afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
night: "\u10E6\u10D0\u10DB\u10D4"
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე"
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D0",
|
||||
afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
night: "\u10E6\u10D0\u10DB\u10D4"
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე"
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D0",
|
||||
afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
night: "\u10E6\u10D0\u10DB\u10D4"
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე"
|
||||
}
|
||||
};
|
||||
var formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
|
||||
afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
|
||||
night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით"
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
|
||||
afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
|
||||
night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით"
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
|
||||
afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
|
||||
night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით"
|
||||
}
|
||||
};
|
||||
var ordinalNumber = function ordinalNumber(dirtyNumber) {
|
||||
var number = Number(dirtyNumber);
|
||||
if (number === 1) {
|
||||
return number + "-\u10DA\u10D8";
|
||||
}
|
||||
return number + "-\u10D4";
|
||||
if (number === 1) return number + "-ლი";
|
||||
return number + "-ე";
|
||||
};
|
||||
var localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
@@ -347,16 +393,14 @@ var localize = {
|
||||
defaultFormattingWidth: "wide"
|
||||
})
|
||||
};
|
||||
|
||||
// lib/locale/_lib/buildMatchFn.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/_lib/buildMatchFn.js
|
||||
function buildMatchFn(args) {
|
||||
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||
var width = options.width;
|
||||
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
||||
var matchResult = string.match(matchPattern);
|
||||
if (!matchResult) {
|
||||
return null;
|
||||
}
|
||||
if (!matchResult) return null;
|
||||
var matchedString = matchResult[0];
|
||||
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
||||
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
||||
@@ -364,161 +408,144 @@ function buildMatchFn(args) {
|
||||
value = args.valueCallback ? args.valueCallback(key) : key;
|
||||
value = options.valueCallback ? options.valueCallback(value) : value;
|
||||
var rest = string.slice(matchedString.length);
|
||||
return { value: value, rest: rest };
|
||||
return {
|
||||
value: value,
|
||||
rest: rest
|
||||
};
|
||||
};
|
||||
}
|
||||
function findKey(object, predicate) {
|
||||
for (var key in object) {
|
||||
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
return;
|
||||
for (var key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
|
||||
}
|
||||
function findIndex(array, predicate) {
|
||||
for (var key = 0; key < array.length; key++) {
|
||||
if (predicate(array[key])) {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
return;
|
||||
for (var key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
||||
}
|
||||
|
||||
// lib/locale/_lib/buildMatchPatternFn.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/_lib/buildMatchPatternFn.js
|
||||
function buildMatchPatternFn(args) {
|
||||
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||
var matchResult = string.match(args.matchPattern);
|
||||
if (!matchResult)
|
||||
return null;
|
||||
if (!matchResult) return null;
|
||||
var matchedString = matchResult[0];
|
||||
var parseResult = string.match(args.parsePattern);
|
||||
if (!parseResult)
|
||||
return null;
|
||||
if (!parseResult) return null;
|
||||
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
||||
value = options.valueCallback ? options.valueCallback(value) : value;
|
||||
var rest = string.slice(matchedString.length);
|
||||
return { value: value, rest: rest };
|
||||
return {
|
||||
value: value,
|
||||
rest: rest
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
// lib/locale/ka/_lib/match.js
|
||||
var matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i;
|
||||
var parseOrdinalNumberPattern = /\d+/i;
|
||||
var matchEraPatterns = {
|
||||
narrow: /^(ჩვ?\.წ)/i,
|
||||
abbreviated: /^(ჩვ?\.წ)/i,
|
||||
wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i
|
||||
};
|
||||
var parseEraPatterns = {
|
||||
any: [
|
||||
/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,
|
||||
/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]
|
||||
|
||||
};
|
||||
var matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^[1234]-(ლი|ე)? კვ/i,
|
||||
wide: /^[1234]-(ლი|ე)? კვარტალი/i
|
||||
};
|
||||
var parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i]
|
||||
};
|
||||
var matchMonthPatterns = {
|
||||
any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i
|
||||
};
|
||||
var parseMonthPatterns = {
|
||||
any: [
|
||||
/^ია/i,
|
||||
/^თ/i,
|
||||
/^მარ/i,
|
||||
/^აპ/i,
|
||||
/^მაი/i,
|
||||
/^ი?ვნ/i,
|
||||
/^ი?ვლ/i,
|
||||
/^აგ/i,
|
||||
/^ს/i,
|
||||
/^ო/i,
|
||||
/^ნ/i,
|
||||
/^დ/i]
|
||||
|
||||
};
|
||||
var matchDayPatterns = {
|
||||
narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,
|
||||
short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,
|
||||
wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i
|
||||
};
|
||||
var parseDayPatterns = {
|
||||
any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i]
|
||||
};
|
||||
var matchDayPeriodPatterns = {
|
||||
any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i
|
||||
};
|
||||
var parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^შუაღ/i,
|
||||
noon: /^შუადღ/i,
|
||||
morning: /^დილ/i,
|
||||
afternoon: /ნაშუადღევს/i,
|
||||
evening: /საღამო/i,
|
||||
night: /ღამ/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: "any",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
day: buildMatchFn({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
dayPeriod: buildMatchFn({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any"
|
||||
})
|
||||
};
|
||||
|
||||
// lib/locale/ka.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/locale/ka.js
|
||||
/**
|
||||
* @category Locales
|
||||
* @summary Georgian locale.
|
||||
* @language Georgian
|
||||
* @iso-639-2 geo
|
||||
* @author Lado Lomidze [@Landish](https://github.com/Landish)
|
||||
* @author Nick Shvelidze [@shvelo](https://github.com/shvelo)
|
||||
*/
|
||||
var ka = {
|
||||
code: "ka",
|
||||
formatDistance: formatDistance,
|
||||
formatLong: formatLong,
|
||||
formatRelative: formatRelative,
|
||||
localize: localize,
|
||||
match: match,
|
||||
match: {
|
||||
ordinalNumber: buildMatchPatternFn({
|
||||
matchPattern: /^(\d+)(-ლი|-ე)?/i,
|
||||
parsePattern: /\d+/i,
|
||||
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
||||
}),
|
||||
era: buildMatchFn({
|
||||
matchPatterns: {
|
||||
narrow: /^(ჩვ?\.წ)/i,
|
||||
abbreviated: /^(ჩვ?\.წ)/i,
|
||||
wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i
|
||||
},
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: { any: [/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i, /^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i] },
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
quarter: buildMatchFn({
|
||||
matchPatterns: {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^[1234]-(ლი|ე)? კვ/i,
|
||||
wide: /^[1234]-(ლი|ე)? კვარტალი/i
|
||||
},
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: { any: [
|
||||
/1/i,
|
||||
/2/i,
|
||||
/3/i,
|
||||
/4/i]
|
||||
},
|
||||
defaultParseWidth: "any",
|
||||
valueCallback: function valueCallback(index) {return index + 1;}
|
||||
}),
|
||||
month: buildMatchFn({
|
||||
matchPatterns: { any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i },
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: { any: [
|
||||
/^ია/i,
|
||||
/^თ/i,
|
||||
/^მარ/i,
|
||||
/^აპ/i,
|
||||
/^მაი/i,
|
||||
/^ი?ვნ/i,
|
||||
/^ი?ვლ/i,
|
||||
/^აგ/i,
|
||||
/^ს/i,
|
||||
/^ო/i,
|
||||
/^ნ/i,
|
||||
/^დ/i]
|
||||
},
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
day: buildMatchFn({
|
||||
matchPatterns: {
|
||||
narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,
|
||||
short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,
|
||||
wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i
|
||||
},
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: { any: [
|
||||
/^კვ/i,
|
||||
/^ორ/i,
|
||||
/^სა/i,
|
||||
/^ოთ/i,
|
||||
/^ხუ/i,
|
||||
/^პა/i,
|
||||
/^შა/i]
|
||||
},
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
dayPeriod: buildMatchFn({
|
||||
matchPatterns: { any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i },
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: { any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^შუაღ/i,
|
||||
noon: /^შუადღ/i,
|
||||
morning: /^დილ/i,
|
||||
afternoon: /ნაშუადღევს/i,
|
||||
evening: /საღამო/i,
|
||||
night: /ღამ/i
|
||||
} },
|
||||
defaultParseWidth: "any"
|
||||
})
|
||||
},
|
||||
options: {
|
||||
weekStartsOn: 1,
|
||||
firstWeekContainsDate: 1
|
||||
}
|
||||
};
|
||||
|
||||
// lib/locale/ka/cdn.js
|
||||
//#endregion
|
||||
//#region dist/date-fns/_entries/locale/ka/cdn.js
|
||||
window.dateFns = _objectSpread(_objectSpread({},
|
||||
window.dateFns), {}, {
|
||||
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
||||
@@ -526,8 +553,7 @@ window.dateFns), {}, {
|
||||
ka: ka }) });
|
||||
|
||||
|
||||
//#endregion
|
||||
|
||||
//# debugId=DD292831071FD68764756E2164756E21
|
||||
|
||||
//# sourceMappingURL=cdn.js.map
|
||||
console.log("date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN");
|
||||
})();
|
||||
-1
File diff suppressed because one or more lines are too long
+1
-3
File diff suppressed because one or more lines are too long
-10
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user