@leapdevuk/component-toolbox 0.0.125 → 0.0.126
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/index.es.js
CHANGED
|
@@ -8227,6 +8227,8 @@ const te = (e, r, t, n, a) => {
|
|
|
8227
8227
|
}, i2 = (e, r) => {
|
|
8228
8228
|
if (!e)
|
|
8229
8229
|
return console.warn("formatReportDate called with null or undefined date."), "";
|
|
8230
|
+
if (!r)
|
|
8231
|
+
return console.warn("formatReportDate called with undefined locale."), "";
|
|
8230
8232
|
if (typeof e == "string" && e.includes("T")) {
|
|
8231
8233
|
const t = new Date(e);
|
|
8232
8234
|
if (isNaN(t.getTime()))
|