aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/fr-CH
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/locale/fr-CH
initial commit: scaffolding
Diffstat (limited to 'node_modules/date-fns/locale/fr-CH')
-rw-r--r--node_modules/date-fns/locale/fr-CH/_lib/formatLong/index.js43
-rw-r--r--node_modules/date-fns/locale/fr-CH/_lib/formatRelative/index.js20
-rw-r--r--node_modules/date-fns/locale/fr-CH/index.d.ts4
-rw-r--r--node_modules/date-fns/locale/fr-CH/index.js42
-rw-r--r--node_modules/date-fns/locale/fr-CH/index.js.flow35
-rw-r--r--node_modules/date-fns/locale/fr-CH/package.json5
6 files changed, 149 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/fr-CH/_lib/formatLong/index.js b/node_modules/date-fns/locale/fr-CH/_lib/formatLong/index.js
new file mode 100644
index 0000000..6d4c89d
--- /dev/null
+++ b/node_modules/date-fns/locale/fr-CH/_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 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: (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/fr-CH/_lib/formatRelative/index.js b/node_modules/date-fns/locale/fr-CH/_lib/formatRelative/index.js
new file mode 100644
index 0000000..634d5f6
--- /dev/null
+++ b/node_modules/date-fns/locale/fr-CH/_lib/formatRelative/index.js
@@ -0,0 +1,20 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var formatRelativeLocale = {
+ lastWeek: "eeee 'la semaine dernière à' p",
+ yesterday: "'hier à' p",
+ today: "'aujourd’hui à' p",
+ tomorrow: "'demain à' p'",
+ nextWeek: "eeee 'la semaine prochaine à' p",
+ other: 'P'
+};
+var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
+ return formatRelativeLocale[token];
+};
+var _default = formatRelative;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/fr-CH/index.d.ts b/node_modules/date-fns/locale/fr-CH/index.d.ts
new file mode 100644
index 0000000..5fdd3c5
--- /dev/null
+++ b/node_modules/date-fns/locale/fr-CH/index.d.ts
@@ -0,0 +1,4 @@
+// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
+
+import { frCH } from 'date-fns/locale'
+export default frCH
diff --git a/node_modules/date-fns/locale/fr-CH/index.js b/node_modules/date-fns/locale/fr-CH/index.js
new file mode 100644
index 0000000..b018e20
--- /dev/null
+++ b/node_modules/date-fns/locale/fr-CH/index.js
@@ -0,0 +1,42 @@
+"use strict";
+
+var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var _index = _interopRequireDefault(require("../fr/_lib/formatDistance/index.js"));
+var _index2 = _interopRequireDefault(require("../fr/_lib/localize/index.js"));
+var _index3 = _interopRequireDefault(require("../fr/_lib/match/index.js"));
+var _index4 = _interopRequireDefault(require("./_lib/formatLong/index.js"));
+var _index5 = _interopRequireDefault(require("./_lib/formatRelative/index.js"));
+// Same as fr
+
+// Unique for fr-CH
+
+/**
+ * @type {Locale}
+ * @category Locales
+ * @summary French locale (Switzerland).
+ * @language French
+ * @iso-639-2 fra
+ * @author Jean Dupouy [@izeau]{@link https://github.com/izeau}
+ * @author François B [@fbonzon]{@link https://github.com/fbonzon}
+ * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}
+ * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn}
+ */
+var locale = {
+ code: 'fr-CH',
+ formatDistance: _index.default,
+ formatLong: _index4.default,
+ formatRelative: _index5.default,
+ localize: _index2.default,
+ match: _index3.default,
+ options: {
+ weekStartsOn: 1 /* Monday */,
+ firstWeekContainsDate: 4
+ }
+};
+var _default = locale;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/fr-CH/index.js.flow b/node_modules/date-fns/locale/fr-CH/index.js.flow
new file mode 100644
index 0000000..b9dfe66
--- /dev/null
+++ b/node_modules/date-fns/locale/fr-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/locale/fr-CH/package.json b/node_modules/date-fns/locale/fr-CH/package.json
new file mode 100644
index 0000000..f8fd907
--- /dev/null
+++ b/node_modules/date-fns/locale/fr-CH/package.json
@@ -0,0 +1,5 @@
+{
+ "sideEffects": false,
+ "module": "../../esm/locale/fr-CH/index.js",
+ "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