registration

This commit is contained in:
User
2025-02-02 16:08:03 +03:00
parent 7f6495eb4d
commit 78afbaed71
6334 changed files with 196774 additions and 165754 deletions

View File

@@ -1,4 +1,6 @@
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
"use strict";
exports.formatLong = void 0;
var _index = require("../../_lib/buildFormatLongFn.cjs");
const dateFormats = {
full: "EEEE d MMMM y",
@@ -21,19 +23,19 @@ const dateTimeFormats = {
short: "{{date}}, {{time}}",
};
export const formatLong = {
date: buildFormatLongFn({
const formatLong = (exports.formatLong = {
date: (0, _index.buildFormatLongFn)({
formats: dateFormats,
defaultWidth: "full",
}),
time: buildFormatLongFn({
time: (0, _index.buildFormatLongFn)({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: buildFormatLongFn({
dateTime: (0, _index.buildFormatLongFn)({
formats: dateTimeFormats,
defaultWidth: "full",
}),
};
});

View File

@@ -1,6 +1,4 @@
"use strict";
exports.formatLong = void 0;
var _index = require("../../_lib/buildFormatLongFn.js");
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
const dateFormats = {
full: "EEEE d MMMM y",
@@ -23,19 +21,19 @@ const dateTimeFormats = {
short: "{{date}}, {{time}}",
};
const formatLong = (exports.formatLong = {
date: (0, _index.buildFormatLongFn)({
export const formatLong = {
date: buildFormatLongFn({
formats: dateFormats,
defaultWidth: "full",
}),
time: (0, _index.buildFormatLongFn)({
time: buildFormatLongFn({
formats: timeFormats,
defaultWidth: "full",
}),
dateTime: (0, _index.buildFormatLongFn)({
dateTime: buildFormatLongFn({
formats: dateTimeFormats,
defaultWidth: "full",
}),
});
};

View File

@@ -1,3 +1,6 @@
"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: "eeee 'la semaine dernière à' p",
yesterday: "'hier à' p",
@@ -7,5 +10,6 @@ const formatRelativeLocale = {
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;

View File

@@ -1,6 +1,3 @@
"use strict";
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: "eeee 'la semaine dernière à' p",
yesterday: "'hier à' p",
@@ -10,6 +7,5 @@ const formatRelativeLocale = {
other: "P",
};
const formatRelative = (token, _date, _baseDate, _options) =>
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;