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/km/_lib/formatDistance/index.js | |
| parent | 864ce67d89c77d8ef9c3361f80d619853abcf91c (diff) | |
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/date-fns/locale/km/_lib/formatDistance/index.js')
| -rw-r--r-- | node_modules/date-fns/locale/km/_lib/formatDistance/index.js | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/node_modules/date-fns/locale/km/_lib/formatDistance/index.js b/node_modules/date-fns/locale/km/_lib/formatDistance/index.js deleted file mode 100644 index 46ab3eb..0000000 --- a/node_modules/date-fns/locale/km/_lib/formatDistance/index.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var formatDistanceLocale = { - lessThanXSeconds: 'តិចជាង {{count}} វិនាទី', - xSeconds: '{{count}} វិនាទី', - halfAMinute: 'កន្លះនាទី', - lessThanXMinutes: 'តិចជាង {{count}} នាទី', - xMinutes: '{{count}} នាទី', - aboutXHours: 'ប្រហែល {{count}} ម៉ោង', - xHours: '{{count}} ម៉ោង', - xDays: '{{count}} ថ្ងៃ', - aboutXWeeks: 'ប្រហែល {{count}} សប្តាហ៍', - xWeeks: '{{count}} សប្តាហ៍', - aboutXMonths: 'ប្រហែល {{count}} ខែ', - xMonths: '{{count}} ខែ', - aboutXYears: 'ប្រហែល {{count}} ឆ្នាំ', - xYears: '{{count}} ឆ្នាំ', - overXYears: 'ជាង {{count}} ឆ្នាំ', - almostXYears: 'ជិត {{count}} ឆ្នាំ' -}; -var formatDistance = function formatDistance(token, count, options) { - var tokenValue = formatDistanceLocale[token]; - var result = tokenValue; - if (typeof count === 'number') { - result = result.replace('{{count}}', count.toString()); - } - 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 |
