aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/esm/locale/en-ZA
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-06-28 17:26:46 -0700
committerPinapelz <yukais@pinapelz.com>2025-06-28 17:43:56 -0700
commite4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 (patch)
tree06284a538a6008eca75051399e47db4e5d50301c /node_modules/date-fns/esm/locale/en-ZA
initial commit: scaffolding
Diffstat (limited to 'node_modules/date-fns/esm/locale/en-ZA')
-rw-r--r--node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js34
-rw-r--r--node_modules/date-fns/esm/locale/en-ZA/index.d.ts4
-rw-r--r--node_modules/date-fns/esm/locale/en-ZA/index.js28
-rw-r--r--node_modules/date-fns/esm/locale/en-ZA/index.js.flow35
-rw-r--r--node_modules/date-fns/esm/locale/en-ZA/package.json4
5 files changed, 105 insertions, 0 deletions
diff --git a/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js
new file mode 100644
index 0000000..7a00929
--- /dev/null
+++ b/node_modules/date-fns/esm/locale/en-ZA/_lib/formatLong/index.js
@@ -0,0 +1,34 @@
+import buildFormatLongFn from "../../../_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: 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-ZA/index.d.ts b/node_modules/date-fns/esm/locale/en-ZA/index.d.ts
new file mode 100644
index 0000000..ebdd1c8
--- /dev/null
+++ b/node_modules/date-fns/esm/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/esm/locale/en-ZA/index.js b/node_modules/date-fns/esm/locale/en-ZA/index.js
new file mode 100644
index 0000000..2d80f7b
--- /dev/null
+++ b/node_modules/date-fns/esm/locale/en-ZA/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 (South Africa).
+ * @language English
+ * @iso-639-2 eng
+ * @author Shaila Kavrakova [@shaykav]{@link https://github.com/shaykav}
+ */
+var locale = {
+ code: 'en-ZA',
+ formatDistance: formatDistance,
+ formatLong: formatLong,
+ formatRelative: formatRelative,
+ localize: localize,
+ match: match,
+ 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.
+ }
+};
+
+export default locale; \ No newline at end of file
diff --git a/node_modules/date-fns/esm/locale/en-ZA/index.js.flow b/node_modules/date-fns/esm/locale/en-ZA/index.js.flow
new file mode 100644
index 0000000..b9dfe66
--- /dev/null
+++ b/node_modules/date-fns/esm/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/esm/locale/en-ZA/package.json b/node_modules/date-fns/esm/locale/en-ZA/package.json
new file mode 100644
index 0000000..a7398d8
--- /dev/null
+++ b/node_modules/date-fns/esm/locale/en-ZA/package.json
@@ -0,0 +1,4 @@
+{
+ "sideEffects": false,
+ "typings": "../../../typings.d.ts"
+} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage