diff --git a/manifest.json b/manifest.json index ceafc49..46a6077 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "vault-explorer", "name": "Vault Explorer", - "version": "1.47.1", + "version": "1.47.2", "minAppVersion": "1.4.13", "description": "Explore your vault in visual format", "author": "DecafDev", diff --git a/package.json b/package.json index 75f13e6..94078e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-vault-explorer", - "version": "1.47.1", + "version": "1.47.2", "description": "Explore your vault in visual format", "main": "main.js", "scripts": { diff --git a/src/svelte/shared/services/time-utils.ts b/src/svelte/shared/services/time-utils.ts index 421dfdd..d2a51b3 100644 --- a/src/svelte/shared/services/time-utils.ts +++ b/src/svelte/shared/services/time-utils.ts @@ -54,7 +54,7 @@ export const getStartOfLastWeekMillis = () => { * @returns - The date in milliseconds */ export const getTimeMillis = (date: string) => { - const momentDate = (moment as any)()(date, DATE_FORMATS, true); + const momentDate = (moment as any)(date, DATE_FORMATS, true); if (!momentDate.isValid()) { throw new Error(`Date format not handled: ${date}`); @@ -68,7 +68,7 @@ export const getTimeMillis = (date: string) => { * @returns - True if the date is supported, false otherwise */ export const isDateSupported = (date: string) => { - const momentDate = (moment as any)()(date, DATE_FORMATS, true); + const momentDate = (moment as any)(date, DATE_FORMATS, true); return momentDate.isValid(); }; @@ -78,7 +78,7 @@ export const isDateSupported = (date: string) => { * @returns - The end of the day in milliseconds */ export const getEndOfDayMillis = (date: string) => { - const day = (moment as any)()(date); + const day = (moment as any)(date); day.set({ hour: 23, minute: 59, diff --git a/versions.json b/versions.json index ac10307..d40cc1b 100644 --- a/versions.json +++ b/versions.json @@ -151,5 +151,6 @@ "1.45.0": "1.4.13", "1.46.0": "1.4.13", "1.47.0": "1.4.13", - "1.47.1": "1.4.13" + "1.47.1": "1.4.13", + "1.47.2": "1.4.13" }