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/locale/en-ZA | |
initial commit: scaffolding
Diffstat (limited to 'node_modules/date-fns/locale/en-ZA')
| -rw-r--r-- | node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js | 43 | ||||
| -rw-r--r-- | node_modules/date-fns/locale/en-ZA/index.d.ts | 4 | ||||
| -rw-r--r-- | node_modules/date-fns/locale/en-ZA/index.js | 36 | ||||
| -rw-r--r-- | node_modules/date-fns/locale/en-ZA/index.js.flow | 35 | ||||
| -rw-r--r-- | node_modules/date-fns/locale/en-ZA/package.json | 5 |
5 files changed, 123 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js b/node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js new file mode 100644 index 0000000..ddba50f --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/_lib/formatLong/index.js @@ -0,0 +1,43 @@ +"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")); +var dateFormats = { + full: 'EEEE, dd MMMM yyyy', + long: 'dd MMMM yyyy', + medium: 'dd MMM yyyy', + short: 'yyyy/MM/dd' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + full: "{{date}} 'at' {{time}}", + long: "{{date}} 'at' {{time}}", + medium: '{{date}}, {{time}}', + short: '{{date}}, {{time}}' +}; +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 diff --git a/node_modules/date-fns/locale/en-ZA/index.d.ts b/node_modules/date-fns/locale/en-ZA/index.d.ts new file mode 100644 index 0000000..ebdd1c8 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/index.d.ts @@ -0,0 +1,4 @@ +// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. + +import { enZA } from 'date-fns/locale' +export default enZA diff --git a/node_modules/date-fns/locale/en-ZA/index.js b/node_modules/date-fns/locale/en-ZA/index.js new file mode 100644 index 0000000..18a20d7 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/index.js @@ -0,0 +1,36 @@ +"use strict"; + +var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; +var _index = _interopRequireDefault(require("../en-US/_lib/formatDistance/index.js")); +var _index2 = _interopRequireDefault(require("../en-US/_lib/formatRelative/index.js")); +var _index3 = _interopRequireDefault(require("../en-US/_lib/localize/index.js")); +var _index4 = _interopRequireDefault(require("../en-US/_lib/match/index.js")); +var _index5 = _interopRequireDefault(require("./_lib/formatLong/index.js")); +/** + * @type {Locale} + * @category Locales + * @summary English locale (South Africa). + * @language English + * @iso-639-2 eng + * @author Shaila Kavrakova [@shaykav]{@link https://github.com/shaykav} + */ +var locale = { + code: 'en-ZA', + formatDistance: _index.default, + formatLong: _index5.default, + formatRelative: _index2.default, + localize: _index3.default, + match: _index4.default, + options: { + weekStartsOn: 0, + // Sunday is the first day of the week. + firstWeekContainsDate: 1 // The week that contains Jan 1st is the first week of the year. + } +}; +var _default = locale; +exports.default = _default; +module.exports = exports.default;
\ No newline at end of file diff --git a/node_modules/date-fns/locale/en-ZA/index.js.flow b/node_modules/date-fns/locale/en-ZA/index.js.flow new file mode 100644 index 0000000..b9dfe66 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/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/locale/en-ZA/package.json b/node_modules/date-fns/locale/en-ZA/package.json new file mode 100644 index 0000000..1ce19b1 --- /dev/null +++ b/node_modules/date-fns/locale/en-ZA/package.json @@ -0,0 +1,5 @@ +{ + "sideEffects": false, + "module": "../../esm/locale/en-ZA/index.js", + "typings": "../../typings.d.ts" +}
\ No newline at end of file |
