From e4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 28 Jun 2025 17:26:46 -0700 Subject: initial commit: scaffolding --- .../esm/locale/ta/_lib/formatLong/index.js | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js (limited to 'node_modules/date-fns/esm/locale/ta/_lib/formatLong') diff --git a/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js new file mode 100644 index 0000000..1b2f9cf --- /dev/null +++ b/node_modules/date-fns/esm/locale/ta/_lib/formatLong/index.js @@ -0,0 +1,37 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; // Ref: https://www.unicode.org/cldr/charts/32/summary/ta.html +// CLDR #1846 - #1849 +var dateFormats = { + full: 'EEEE, d MMMM, y', + long: 'd MMMM, y', + medium: 'd MMM, y', + short: 'd/M/yy' +}; + +// CLDR #1850 - #1853 +var timeFormats = { + full: 'a h:mm:ss zzzz', + long: 'a h:mm:ss z', + medium: 'a h:mm:ss', + short: 'a h:mm' +}; +var dateTimeFormats = { + full: '{{date}} {{time}}', + long: '{{date}} {{time}}', + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file -- cgit v1.2.3