From e4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 28 Jun 2025 17:26:46 -0700 Subject: initial commit: scaffolding --- .../date-fns/locale/kn/_lib/formatLong/index.js | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 node_modules/date-fns/locale/kn/_lib/formatLong/index.js (limited to 'node_modules/date-fns/locale/kn/_lib/formatLong/index.js') diff --git a/node_modules/date-fns/locale/kn/_lib/formatLong/index.js b/node_modules/date-fns/locale/kn/_lib/formatLong/index.js new file mode 100644 index 0000000..149e15e --- /dev/null +++ b/node_modules/date-fns/locale/kn/_lib/formatLong/index.js @@ -0,0 +1,57 @@ +"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")); +// Reference: https://www.unicode.org/cldr/charts/32/summary/kn.html + +var dateFormats = { + full: 'EEEE, MMMM d, y', + // CLDR 1816 + long: 'MMMM d, y', + // CLDR 1817 + medium: 'MMM d, y', + // CLDR 1818 + short: 'd/M/yy' // CLDR 1819 +}; + +var timeFormats = { + full: 'hh:mm:ss a zzzz', + // CLDR 1820 + long: 'hh:mm:ss a z', + // CLDR 1821 + medium: 'hh:mm:ss a', + // CLDR 1822 + short: 'hh:mm a' // CLDR 1823 +}; + +var dateTimeFormats = { + full: '{{date}} {{time}}', + // CLDR 1824 + long: '{{date}} {{time}}', + // CLDR 1825 + medium: '{{date}} {{time}}', + // CLDR 1826 + short: '{{date}} {{time}}' // CLDR 1827 +}; + +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 -- cgit v1.2.3