diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
| commit | d55b767039605256c736166a942a9138e3eacfd7 (patch) | |
| tree | 947063b634c50d438a794325f13275e134aa5993 /node_modules/date-fns/locale/he/_lib/formatDistance | |
| parent | 864ce67d89c77d8ef9c3361f80d619853abcf91c (diff) | |
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/locale/he/_lib/formatDistance')
| -rw-r--r-- | node_modules/date-fns/locale/he/_lib/formatDistance/index.js | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/node_modules/date-fns/locale/he/_lib/formatDistance/index.js b/node_modules/date-fns/locale/he/_lib/formatDistance/index.js deleted file mode 100644 index 5271518..0000000 --- a/node_modules/date-fns/locale/he/_lib/formatDistance/index.js +++ /dev/null @@ -1,115 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var formatDistanceLocale = { - lessThanXSeconds: { - one: 'פחות משנייה', - two: 'פחות משתי שניות', - other: 'פחות מ־{{count}} שניות' - }, - xSeconds: { - one: 'שנייה', - two: 'שתי שניות', - other: '{{count}} שניות' - }, - halfAMinute: 'חצי דקה', - lessThanXMinutes: { - one: 'פחות מדקה', - two: 'פחות משתי דקות', - other: 'פחות מ־{{count}} דקות' - }, - xMinutes: { - one: 'דקה', - two: 'שתי דקות', - other: '{{count}} דקות' - }, - aboutXHours: { - one: 'כשעה', - two: 'כשעתיים', - other: 'כ־{{count}} שעות' - }, - xHours: { - one: 'שעה', - two: 'שעתיים', - other: '{{count}} שעות' - }, - xDays: { - one: 'יום', - two: 'יומיים', - other: '{{count}} ימים' - }, - aboutXWeeks: { - one: 'כשבוע', - two: 'כשבועיים', - other: 'כ־{{count}} שבועות' - }, - xWeeks: { - one: 'שבוע', - two: 'שבועיים', - other: '{{count}} שבועות' - }, - aboutXMonths: { - one: 'כחודש', - two: 'כחודשיים', - other: 'כ־{{count}} חודשים' - }, - xMonths: { - one: 'חודש', - two: 'חודשיים', - other: '{{count}} חודשים' - }, - aboutXYears: { - one: 'כשנה', - two: 'כשנתיים', - other: 'כ־{{count}} שנים' - }, - xYears: { - one: 'שנה', - two: 'שנתיים', - other: '{{count}} שנים' - }, - overXYears: { - one: 'יותר משנה', - two: 'יותר משנתיים', - other: 'יותר מ־{{count}} שנים' - }, - almostXYears: { - one: 'כמעט שנה', - two: 'כמעט שנתיים', - other: 'כמעט {{count}} שנים' - } -}; -var formatDistance = function formatDistance(token, count, options) { - // Return word instead of `in one day` or `one day ago` - if (token === 'xDays' && options !== null && options !== void 0 && options.addSuffix && count <= 2) { - if (options.comparison && options.comparison > 0) { - return count === 1 ? 'מחר' : 'מחרתיים'; - } - return count === 1 ? 'אתמול' : 'שלשום'; - } - var result; - var tokenValue = formatDistanceLocale[token]; - if (typeof tokenValue === 'string') { - result = tokenValue; - } else if (count === 1) { - result = tokenValue.one; - } else if (count === 2) { - result = tokenValue.two; - } else { - result = tokenValue.other.replace('{{count}}', String(count)); - } - if (options !== null && options !== void 0 && options.addSuffix) { - if (options.comparison && options.comparison > 0) { - return 'בעוד ' + result; - } else { - return 'לפני ' + result; - } - } - return result; -}; -var _default = formatDistance; -exports.default = _default; -module.exports = exports.default;
\ No newline at end of file |
