trotl-table 1.0.84 → 1.0.85
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/Table.cjs.js +4 -3
- package/dist/Table.cjs.js.map +1 -1
- package/dist/Table.esm.js +4 -3
- package/dist/Table.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/Table.cjs.js
CHANGED
|
@@ -10804,8 +10804,8 @@ function TableInner({
|
|
|
10804
10804
|
const min = String(dateObj.getMinutes()).padStart(2, "0");
|
|
10805
10805
|
return `${d}-${m}-${y} ${h}:${min}`;
|
|
10806
10806
|
}
|
|
10807
|
-
// Fallback: use
|
|
10808
|
-
return dateObj.toLocaleString(
|
|
10807
|
+
// Fallback: use Slovenian locale with 24-hour option
|
|
10808
|
+
return dateObj.toLocaleString("sl-SI", {
|
|
10809
10809
|
hour12: false
|
|
10810
10810
|
});
|
|
10811
10811
|
}
|
|
@@ -10817,7 +10817,8 @@ function TableInner({
|
|
|
10817
10817
|
month: "2-digit",
|
|
10818
10818
|
year: "numeric",
|
|
10819
10819
|
hour: "2-digit",
|
|
10820
|
-
minute: "2-digit"
|
|
10820
|
+
minute: "2-digit",
|
|
10821
|
+
hour12: false
|
|
10821
10822
|
}) : "-";
|
|
10822
10823
|
}
|
|
10823
10824
|
if (isUndefinedLike) {
|