aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/de-AT
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/de-AT
initial commit: scaffolding
Diffstat (limited to 'node_modules/date-fns/locale/de-AT')
-rw-r--r--node_modules/date-fns/locale/de-AT/_lib/localize/index.js143
-rw-r--r--node_modules/date-fns/locale/de-AT/index.d.ts4
-rw-r--r--node_modules/date-fns/locale/de-AT/index.js37
-rw-r--r--node_modules/date-fns/locale/de-AT/index.js.flow35
-rw-r--r--node_modules/date-fns/locale/de-AT/package.json5
5 files changed, 224 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/de-AT/_lib/localize/index.js b/node_modules/date-fns/locale/de-AT/_lib/localize/index.js
new file mode 100644
index 0000000..85af22a
--- /dev/null
+++ b/node_modules/date-fns/locale/de-AT/_lib/localize/index.js
@@ -0,0 +1,143 @@
+"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/buildLocalizeFn/index.js"));
+var eraValues = {
+ narrow: ['v.Chr.', 'n.Chr.'],
+ abbreviated: ['v.Chr.', 'n.Chr.'],
+ wide: ['vor Christus', 'nach Christus']
+};
+var quarterValues = {
+ narrow: ['1', '2', '3', '4'],
+ abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
+ wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal']
+};
+
+// Note: in German, the names of days of the week and months are capitalized.
+// If you are making a new locale based on this one, check if the same is true for the language you're working on.
+// Generally, formatted dates should look like they are in the middle of a sentence,
+// e.g. in Spanish language the weekdays and months should be in the lowercase.
+var monthValues = {
+ narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
+ abbreviated: ['Jän', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],
+ wide: ['Jänner', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']
+};
+
+// https://st.unicode.org/cldr-apps/v#/de_AT/Gregorian/
+var formattingMonthValues = {
+ narrow: monthValues.narrow,
+ abbreviated: ['Jän.', 'Feb.', 'März', 'Apr.', 'Mai', 'Juni', 'Juli', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Dez.'],
+ wide: monthValues.wide
+};
+var dayValues = {
+ narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],
+ short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],
+ abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],
+ wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag']
+};
+
+// https://www.unicode.org/cldr/charts/32/summary/de.html#1881
+var dayPeriodValues = {
+ narrow: {
+ am: 'vm.',
+ pm: 'nm.',
+ midnight: 'Mitternacht',
+ noon: 'Mittag',
+ morning: 'Morgen',
+ afternoon: 'Nachm.',
+ evening: 'Abend',
+ night: 'Nacht'
+ },
+ abbreviated: {
+ am: 'vorm.',
+ pm: 'nachm.',
+ midnight: 'Mitternacht',
+ noon: 'Mittag',
+ morning: 'Morgen',
+ afternoon: 'Nachmittag',
+ evening: 'Abend',
+ night: 'Nacht'
+ },
+ wide: {
+ am: 'vormittags',
+ pm: 'nachmittags',
+ midnight: 'Mitternacht',
+ noon: 'Mittag',
+ morning: 'Morgen',
+ afternoon: 'Nachmittag',
+ evening: 'Abend',
+ night: 'Nacht'
+ }
+};
+var formattingDayPeriodValues = {
+ narrow: {
+ am: 'vm.',
+ pm: 'nm.',
+ midnight: 'Mitternacht',
+ noon: 'Mittag',
+ morning: 'morgens',
+ afternoon: 'nachm.',
+ evening: 'abends',
+ night: 'nachts'
+ },
+ abbreviated: {
+ am: 'vorm.',
+ pm: 'nachm.',
+ midnight: 'Mitternacht',
+ noon: 'Mittag',
+ morning: 'morgens',
+ afternoon: 'nachmittags',
+ evening: 'abends',
+ night: 'nachts'
+ },
+ wide: {
+ am: 'vormittags',
+ pm: 'nachmittags',
+ midnight: 'Mitternacht',
+ noon: 'Mittag',
+ morning: 'morgens',
+ afternoon: 'nachmittags',
+ evening: 'abends',
+ night: 'nachts'
+ }
+};
+var ordinalNumber = function ordinalNumber(dirtyNumber) {
+ var number = Number(dirtyNumber);
+ return number + '.';
+};
+var localize = {
+ ordinalNumber: ordinalNumber,
+ era: (0, _index.default)({
+ values: eraValues,
+ defaultWidth: 'wide'
+ }),
+ quarter: (0, _index.default)({
+ values: quarterValues,
+ defaultWidth: 'wide',
+ argumentCallback: function argumentCallback(quarter) {
+ return quarter - 1;
+ }
+ }),
+ month: (0, _index.default)({
+ values: monthValues,
+ formattingValues: formattingMonthValues,
+ defaultWidth: 'wide'
+ }),
+ day: (0, _index.default)({
+ values: dayValues,
+ defaultWidth: 'wide'
+ }),
+ dayPeriod: (0, _index.default)({
+ values: dayPeriodValues,
+ defaultWidth: 'wide',
+ formattingValues: formattingDayPeriodValues,
+ defaultFormattingWidth: 'wide'
+ })
+};
+var _default = localize;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
diff --git a/node_modules/date-fns/locale/de-AT/index.d.ts b/node_modules/date-fns/locale/de-AT/index.d.ts
new file mode 100644
index 0000000..a7d6680
--- /dev/null
+++ b/node_modules/date-fns/locale/de-AT/index.d.ts
@@ -0,0 +1,4 @@
+// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it.
+
+import { deAT } from 'date-fns/locale'
+export default deAT
diff --git a/node_modules/date-fns/locale/de-AT/index.js b/node_modules/date-fns/locale/de-AT/index.js
new file mode 100644
index 0000000..10aece4
--- /dev/null
+++ b/node_modules/date-fns/locale/de-AT/index.js
@@ -0,0 +1,37 @@
+"use strict";
+
+var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var _index = _interopRequireDefault(require("../de/_lib/formatDistance/index.js"));
+var _index2 = _interopRequireDefault(require("../de/_lib/formatLong/index.js"));
+var _index3 = _interopRequireDefault(require("../de/_lib/formatRelative/index.js"));
+var _index4 = _interopRequireDefault(require("../de/_lib/match/index.js"));
+var _index5 = _interopRequireDefault(require("./_lib/localize/index.js"));
+// difference to 'de' locale
+
+/**
+ * @type {Locale}
+ * @category Locales
+ * @summary German locale (Austria).
+ * @language German
+ * @iso-639-2 deu
+ * @author Christoph Tobias Stenglein [@cstenglein]{@link https://github.com/cstenglein}
+ */
+var locale = {
+ code: 'de-AT',
+ formatDistance: _index.default,
+ formatLong: _index2.default,
+ formatRelative: _index3.default,
+ localize: _index5.default,
+ match: _index4.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/de-AT/index.js.flow b/node_modules/date-fns/locale/de-AT/index.js.flow
new file mode 100644
index 0000000..b9dfe66
--- /dev/null
+++ b/node_modules/date-fns/locale/de-AT/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/de-AT/package.json b/node_modules/date-fns/locale/de-AT/package.json
new file mode 100644
index 0000000..98cc747
--- /dev/null
+++ b/node_modules/date-fns/locale/de-AT/package.json
@@ -0,0 +1,5 @@
+{
+ "sideEffects": false,
+ "module": "../../esm/locale/de-AT/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