diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-28 17:26:46 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-28 17:43:56 -0700 |
| commit | e4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 (patch) | |
| tree | 06284a538a6008eca75051399e47db4e5d50301c /node_modules/date-fns/esm/locale/en-IN | |
initial commit: scaffolding
Diffstat (limited to 'node_modules/date-fns/esm/locale/en-IN')
5 files changed, 105 insertions, 0 deletions
diff --git a/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js new file mode 100644 index 0000000..fb43244 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE, d MMMM yyyy', + long: 'd MMMM, yyyy', + medium: 'd MMM, yyyy', + short: 'dd/MM/yyyy' +}; +var timeFormats = { + full: 'h:mm:ss a zzzz', + long: 'h:mm:ss a z', + medium: 'h:mm:ss a', + short: 'h:mm a' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{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 diff --git a/node_modules/date-fns/esm/locale/en-IN/index.d.ts b/node_modules/date-fns/esm/locale/en-IN/index.d.ts new file mode 100644 index 0000000..a1fc542 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enIN } from 'date-fns/locale' +export default enIN diff --git a/node_modules/date-fns/esm/locale/en-IN/index.js b/node_modules/date-fns/esm/locale/en-IN/index.js new file mode 100644 index 0000000..0303935 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/index.js @@ -0,0 +1,28 @@ +import formatDistance from "../en-US/_lib/formatDistance/index.js"; +import formatRelative from "../en-US/_lib/formatRelative/index.js"; +import localize from "../en-US/_lib/localize/index.js"; +import match from "../en-US/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary English locale (India). + * @language English + * @iso-639-2 eng + * @author Galeel Bhasha Satthar [@gbhasha]{@link https://github.com/gbhasha} + */ +var locale = { + code: 'en-IN', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1, + // Monday is the first day of the week. + firstWeekContainsDate: 4 // The week that contains Jan 4th is the first week of the year. + } +}; + +export default locale;
\ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/en-IN/index.js.flow b/node_modules/date-fns/esm/locale/en-IN/index.js.flow new file mode 100644 index 0000000..b9dfe66 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/index.js.flow @@ -0,0 +1,35 @@ +// @flow +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +export type Locale = { + code?: string, + formatDistance?: (...args: Array<any>) => any, + formatRelative?: (...args: Array<any>) => any, + localize?: { + ordinalNumber: (...args: Array<any>) => any, + era: (...args: Array<any>) => any, + quarter: (...args: Array<any>) => any, + month: (...args: Array<any>) => any, + day: (...args: Array<any>) => any, + dayPeriod: (...args: Array<any>) => any, + }, + formatLong?: { + date: (...args: Array<any>) => any, + time: (...args: Array<any>) => any, + dateTime: (...args: Array<any>) => any, + }, + match?: { + ordinalNumber: (...args: Array<any>) => any, + era: (...args: Array<any>) => any, + quarter: (...args: Array<any>) => any, + month: (...args: Array<any>) => any, + day: (...args: Array<any>) => any, + dayPeriod: (...args: Array<any>) => any, + }, + options?: { + weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6, + firstWeekContainsDate?: 1 | 2 | 3 | 4 | 5 | 6 | 7, + }, +} + +declare module.exports: Locale diff --git a/node_modules/date-fns/esm/locale/en-IN/package.json b/node_modules/date-fns/esm/locale/en-IN/package.json new file mode 100644 index 0000000..a7398d8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/en-IN/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +}
\ No newline at end of file |
