diff options
Diffstat (limited to 'node_modules/date-fns/esm/locale/it-CH')
5 files changed, 103 insertions, 0 deletions
diff --git a/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js new file mode 100644 index 0000000..4a33dbc --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/_lib/formatLong/index.js @@ -0,0 +1,34 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + full: 'EEEE d MMMM y', + long: 'd MMMM y', + medium: 'd MMM y', + short: 'dd.MM.y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH: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 diff --git a/node_modules/date-fns/esm/locale/it-CH/index.d.ts b/node_modules/date-fns/esm/locale/it-CH/index.d.ts new file mode 100644 index 0000000..43f7003 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { itCH } from 'date-fns/locale' +export default itCH diff --git a/node_modules/date-fns/esm/locale/it-CH/index.js b/node_modules/date-fns/esm/locale/it-CH/index.js new file mode 100644 index 0000000..697726c --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/index.js @@ -0,0 +1,26 @@ +import formatDistance from "../it/_lib/formatDistance/index.js"; +import formatRelative from "../it/_lib/formatRelative/index.js"; +import localize from "../it/_lib/localize/index.js"; +import match from "../it/_lib/match/index.js"; +import formatLong from "./_lib/formatLong/index.js"; +/** + * @type {Locale} + * @category Locales + * @summary Italian locale (Switzerland). + * @language Italian + * @iso-639-2 ita + * @author Mike Peyer [@maic66]{@link https://github.com/maic66} + */ +var locale = { + code: 'it-CH', + formatDistance: formatDistance, + formatLong: formatLong, + formatRelative: formatRelative, + localize: localize, + match: match, + options: { + weekStartsOn: 1 /* Monday */, + firstWeekContainsDate: 4 + } +}; +export default locale;
\ No newline at end of file diff --git a/node_modules/date-fns/esm/locale/it-CH/index.js.flow b/node_modules/date-fns/esm/locale/it-CH/index.js.flow new file mode 100644 index 0000000..b9dfe66 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/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/it-CH/package.json b/node_modules/date-fns/esm/locale/it-CH/package.json new file mode 100644 index 0000000..a7398d8 --- /dev/null +++ b/node_modules/date-fns/esm/locale/it-CH/package.json @@ -0,0 +1,4 @@ +{ + "sideEffects": false, + "typings": "../../../typings.d.ts" +}
\ No newline at end of file |
