iconograph-ui 1.4.7 → 1.4.8

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.
@@ -9,6 +9,8 @@
9
9
 
10
10
  if (!(date instanceof Date)) {
11
11
  date = new Date(date);
12
+ if (date.toString() == "Invalid Date")
13
+ return "";
12
14
  }
13
15
 
14
16
  const pad = (num, size = 2) => num.toString().padStart(size, "0");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iconograph-ui",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "A Svelte Kit components library",
5
5
  "main": "./index.js",
6
6
  "svelte": "./index.js",