UEA-PRODEM

This commit is contained in:
2026-06-10 12:14:46 -03:00
parent f54126b9d8
commit 9947565694
5319 changed files with 148520 additions and 129332 deletions
+4 -4
View File
@@ -10,7 +10,7 @@ var _index6 = require("./differenceInCalendarWeeks.cjs");
var _index7 = require("./differenceInCalendarYears.cjs");
var _index8 = require("./differenceInHours.cjs");
var _index9 = require("./differenceInMinutes.cjs");
var _index10 = require("./differenceInSeconds.cjs");
var _index0 = require("./differenceInSeconds.cjs");
/**
* The {@link intlFormatDistance} function options.
@@ -129,13 +129,13 @@ function intlFormatDistance(laterDate, earlierDate, options) {
if (!options?.unit) {
// Get the unit based on diffInSeconds calculations if no unit is specified
const diffInSeconds = (0, _index10.differenceInSeconds)(
const diffInSeconds = (0, _index0.differenceInSeconds)(
laterDate_,
earlierDate_,
); // The smallest unit
if (Math.abs(diffInSeconds) < _index2.secondsInMinute) {
value = (0, _index10.differenceInSeconds)(laterDate_, earlierDate_);
value = (0, _index0.differenceInSeconds)(laterDate_, earlierDate_);
unit = "second";
} else if (Math.abs(diffInSeconds) < _index2.secondsInHour) {
value = (0, _index9.differenceInMinutes)(laterDate_, earlierDate_);
@@ -188,7 +188,7 @@ function intlFormatDistance(laterDate, earlierDate, options) {
// Get the value if unit is specified
unit = options?.unit;
if (unit === "second") {
value = (0, _index10.differenceInSeconds)(laterDate_, earlierDate_);
value = (0, _index0.differenceInSeconds)(laterDate_, earlierDate_);
} else if (unit === "minute") {
value = (0, _index9.differenceInMinutes)(laterDate_, earlierDate_);
} else if (unit === "hour") {