@jsenv/navi 0.29.182 → 0.29.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/jsenv_navi.js
CHANGED
|
@@ -55546,7 +55546,9 @@ const TimeMinute = ({
|
|
|
55546
55546
|
let text;
|
|
55547
55547
|
if (format === "timestring") {
|
|
55548
55548
|
const date = new Date(1970, 0, 1, totalHours, remainingMinutes, 0);
|
|
55549
|
-
text = formatTime(date,
|
|
55549
|
+
text = formatTime(date, {
|
|
55550
|
+
lang
|
|
55551
|
+
});
|
|
55550
55552
|
} else {
|
|
55551
55553
|
text = formatMinuteDuration(minutes, {
|
|
55552
55554
|
lang,
|
|
@@ -55626,7 +55628,9 @@ const TimeHour = ({
|
|
|
55626
55628
|
const date = new Date(1970, 0, 1, Math.floor(totalMinutes / 60), totalMinutes % 60, 0);
|
|
55627
55629
|
return jsx$1(TimeText, {
|
|
55628
55630
|
...props,
|
|
55629
|
-
children: formatTime(date,
|
|
55631
|
+
children: formatTime(date, {
|
|
55632
|
+
lang
|
|
55633
|
+
})
|
|
55630
55634
|
});
|
|
55631
55635
|
}
|
|
55632
55636
|
const text = formatHourDuration(hours, {
|