aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/kn/_lib/formatDistance
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/kn/_lib/formatDistance
parent864ce67d89c77d8ef9c3361f80d619853abcf91c (diff)
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/locale/kn/_lib/formatDistance')
-rw-r--r--node_modules/date-fns/locale/kn/_lib/formatDistance/index.js202
1 files changed, 0 insertions, 202 deletions
diff --git a/node_modules/date-fns/locale/kn/_lib/formatDistance/index.js b/node_modules/date-fns/locale/kn/_lib/formatDistance/index.js
deleted file mode 100644
index e68e2b2..0000000
--- a/node_modules/date-fns/locale/kn/_lib/formatDistance/index.js
+++ /dev/null
@@ -1,202 +0,0 @@
-"use strict";
-
-Object.defineProperty(exports, "__esModule", {
- value: true
-});
-exports.default = void 0;
-// note: no implementation for weeks
-
-var formatDistanceLocale = {
- lessThanXSeconds: {
- one: {
- default: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',
- future: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',
- past: '1 ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ'
- },
- other: {
- default: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',
- future: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ',
- past: '{{count}} ಸೆಕೆಂಡ್‌ಗಿಂತ ಕಡಿಮೆ'
- }
- },
- xSeconds: {
- one: {
- default: '1 ಸೆಕೆಂಡ್',
- future: '1 ಸೆಕೆಂಡ್‌ನಲ್ಲಿ',
- past: '1 ಸೆಕೆಂಡ್ ಹಿಂದೆ'
- },
- other: {
- default: '{{count}} ಸೆಕೆಂಡುಗಳು',
- future: '{{count}} ಸೆಕೆಂಡ್‌ಗಳಲ್ಲಿ',
- past: '{{count}} ಸೆಕೆಂಡ್ ಹಿಂದೆ'
- }
- },
- halfAMinute: {
- other: {
- default: 'ಅರ್ಧ ನಿಮಿಷ',
- future: 'ಅರ್ಧ ನಿಮಿಷದಲ್ಲಿ',
- past: 'ಅರ್ಧ ನಿಮಿಷದ ಹಿಂದೆ'
- }
- },
- lessThanXMinutes: {
- one: {
- default: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',
- future: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',
- past: '1 ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ'
- },
- other: {
- default: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',
- future: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ',
- past: '{{count}} ನಿಮಿಷಕ್ಕಿಂತ ಕಡಿಮೆ'
- }
- },
- xMinutes: {
- one: {
- default: '1 ನಿಮಿಷ',
- future: '1 ನಿಮಿಷದಲ್ಲಿ',
- past: '1 ನಿಮಿಷದ ಹಿಂದೆ'
- },
- other: {
- default: '{{count}} ನಿಮಿಷಗಳು',
- future: '{{count}} ನಿಮಿಷಗಳಲ್ಲಿ',
- past: '{{count}} ನಿಮಿಷಗಳ ಹಿಂದೆ'
- }
- },
- aboutXHours: {
- one: {
- default: 'ಸುಮಾರು 1 ಗಂಟೆ',
- future: 'ಸುಮಾರು 1 ಗಂಟೆಯಲ್ಲಿ',
- past: 'ಸುಮಾರು 1 ಗಂಟೆ ಹಿಂದೆ'
- },
- other: {
- default: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳು',
- future: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳಲ್ಲಿ',
- past: 'ಸುಮಾರು {{count}} ಗಂಟೆಗಳ ಹಿಂದೆ'
- }
- },
- xHours: {
- one: {
- default: '1 ಗಂಟೆ',
- future: '1 ಗಂಟೆಯಲ್ಲಿ',
- past: '1 ಗಂಟೆ ಹಿಂದೆ'
- },
- other: {
- default: '{{count}} ಗಂಟೆಗಳು',
- future: '{{count}} ಗಂಟೆಗಳಲ್ಲಿ',
- past: '{{count}} ಗಂಟೆಗಳ ಹಿಂದೆ'
- }
- },
- xDays: {
- one: {
- default: '1 ದಿನ',
- future: '1 ದಿನದಲ್ಲಿ',
- past: '1 ದಿನದ ಹಿಂದೆ'
- },
- other: {
- default: '{{count}} ದಿನಗಳು',
- future: '{{count}} ದಿನಗಳಲ್ಲಿ',
- past: '{{count}} ದಿನಗಳ ಹಿಂದೆ'
- }
- },
- // TODO
- // aboutXWeeks: {},
-
- // TODO
- // xWeeks: {},
-
- aboutXMonths: {
- one: {
- default: 'ಸುಮಾರು 1 ತಿಂಗಳು',
- future: 'ಸುಮಾರು 1 ತಿಂಗಳಲ್ಲಿ',
- past: 'ಸುಮಾರು 1 ತಿಂಗಳ ಹಿಂದೆ'
- },
- other: {
- default: 'ಸುಮಾರು {{count}} ತಿಂಗಳು',
- future: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳಲ್ಲಿ',
- past: 'ಸುಮಾರು {{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ'
- }
- },
- xMonths: {
- one: {
- default: '1 ತಿಂಗಳು',
- future: '1 ತಿಂಗಳಲ್ಲಿ',
- past: '1 ತಿಂಗಳ ಹಿಂದೆ'
- },
- other: {
- default: '{{count}} ತಿಂಗಳು',
- future: '{{count}} ತಿಂಗಳುಗಳಲ್ಲಿ',
- past: '{{count}} ತಿಂಗಳುಗಳ ಹಿಂದೆ'
- }
- },
- aboutXYears: {
- one: {
- default: 'ಸುಮಾರು 1 ವರ್ಷ',
- future: 'ಸುಮಾರು 1 ವರ್ಷದಲ್ಲಿ',
- past: 'ಸುಮಾರು 1 ವರ್ಷದ ಹಿಂದೆ'
- },
- other: {
- default: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳು',
- future: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳಲ್ಲಿ',
- past: 'ಸುಮಾರು {{count}} ವರ್ಷಗಳ ಹಿಂದೆ'
- }
- },
- xYears: {
- one: {
- default: '1 ವರ್ಷ',
- future: '1 ವರ್ಷದಲ್ಲಿ',
- past: '1 ವರ್ಷದ ಹಿಂದೆ'
- },
- other: {
- default: '{{count}} ವರ್ಷಗಳು',
- future: '{{count}} ವರ್ಷಗಳಲ್ಲಿ',
- past: '{{count}} ವರ್ಷಗಳ ಹಿಂದೆ'
- }
- },
- overXYears: {
- one: {
- default: '1 ವರ್ಷದ ಮೇಲೆ',
- future: '1 ವರ್ಷದ ಮೇಲೆ',
- past: '1 ವರ್ಷದ ಮೇಲೆ'
- },
- other: {
- default: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ',
- future: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ',
- past: '{{count}} ವರ್ಷಗಳ ಮೇಲೆ'
- }
- },
- almostXYears: {
- one: {
- default: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ',
- future: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ',
- past: 'ಬಹುತೇಕ 1 ವರ್ಷದಲ್ಲಿ'
- },
- other: {
- default: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ',
- future: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ',
- past: 'ಬಹುತೇಕ {{count}} ವರ್ಷಗಳಲ್ಲಿ'
- }
- }
-};
-function getResultByTense(parentToken, options) {
- if (options !== null && options !== void 0 && options.addSuffix) {
- if (options.comparison && options.comparison > 0) {
- return parentToken.future;
- } else {
- return parentToken.past;
- }
- }
- return parentToken.default;
-}
-var formatDistance = function formatDistance(token, count, options) {
- var result;
- var tokenValue = formatDistanceLocale[token];
- if (tokenValue.one && count === 1) {
- result = getResultByTense(tokenValue.one, options);
- } else {
- result = getResultByTense(tokenValue.other, options);
- }
- return result.replace('{{count}}', String(count));
-};
-var _default = formatDistance;
-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