caplink-saas-ui-shared-component-library 1.110.1 → 1.111.0
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 +2 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5959,6 +5959,7 @@ function sZ(t) {
|
|
|
5959
5959
|
const { value: e, mode: n } = t, r = pe(() => {
|
|
5960
5960
|
if (!e) return "dd/mm/aaaa";
|
|
5961
5961
|
const s = (o) => {
|
|
5962
|
+
if (Number.isNaN(o.getTime())) return String(e);
|
|
5962
5963
|
const i = new Date(o.getTime() + o.getTimezoneOffset() * 6e4);
|
|
5963
5964
|
return Intl.DateTimeFormat("pt-BR", { dateStyle: "short" }).format(i);
|
|
5964
5965
|
};
|
|
@@ -43681,6 +43682,7 @@ function Fye(t) {
|
|
|
43681
43682
|
if (!e)
|
|
43682
43683
|
return i.startsWith("en-US") ? "mm/dd/yyyy" : "dd/mm/aaaa";
|
|
43683
43684
|
const a = (l) => {
|
|
43685
|
+
if (Number.isNaN(l.getTime())) return String(e);
|
|
43684
43686
|
const c = new Date(l.getTime() + l.getTimezoneOffset() * 6e4);
|
|
43685
43687
|
return Intl.DateTimeFormat(i, { dateStyle: "short" }).format(c);
|
|
43686
43688
|
};
|