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.esm.js
CHANGED
|
@@ -10782,8 +10782,8 @@ function TableInner({
|
|
|
10782
10782
|
const min = String(dateObj.getMinutes()).padStart(2, "0");
|
|
10783
10783
|
return `${d}-${m}-${y} ${h}:${min}`;
|
|
10784
10784
|
}
|
|
10785
|
-
// Fallback: use
|
|
10786
|
-
return dateObj.toLocaleString(
|
|
10785
|
+
// Fallback: use Slovenian locale with 24-hour option
|
|
10786
|
+
return dateObj.toLocaleString("sl-SI", {
|
|
10787
10787
|
hour12: false
|
|
10788
10788
|
});
|
|
10789
10789
|
}
|
|
@@ -10795,7 +10795,8 @@ function TableInner({
|
|
|
10795
10795
|
month: "2-digit",
|
|
10796
10796
|
year: "numeric",
|
|
10797
10797
|
hour: "2-digit",
|
|
10798
|
-
minute: "2-digit"
|
|
10798
|
+
minute: "2-digit",
|
|
10799
|
+
hour12: false
|
|
10799
10800
|
}) : "-";
|
|
10800
10801
|
}
|
|
10801
10802
|
if (isUndefinedLike) {
|