Skip to content

Commit 5ebfc3f

Browse files
authored
Merge pull request #385 from decaf-dev/dev
1.47.2
2 parents 9ac4be6 + 9937638 commit 5ebfc3f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "vault-explorer",
33
"name": "Vault Explorer",
4-
"version": "1.47.1",
4+
"version": "1.47.2",
55
"minAppVersion": "1.4.13",
66
"description": "Explore your vault in visual format",
77
"author": "DecafDev",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "obsidian-vault-explorer",
3-
"version": "1.47.1",
3+
"version": "1.47.2",
44
"description": "Explore your vault in visual format",
55
"main": "main.js",
66
"scripts": {

src/svelte/shared/services/time-utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const getStartOfLastWeekMillis = () => {
5454
* @returns - The date in milliseconds
5555
*/
5656
export const getTimeMillis = (date: string) => {
57-
const momentDate = (moment as any)()(date, DATE_FORMATS, true);
57+
const momentDate = (moment as any)(date, DATE_FORMATS, true);
5858

5959
if (!momentDate.isValid()) {
6060
throw new Error(`Date format not handled: ${date}`);
@@ -68,7 +68,7 @@ export const getTimeMillis = (date: string) => {
6868
* @returns - True if the date is supported, false otherwise
6969
*/
7070
export const isDateSupported = (date: string) => {
71-
const momentDate = (moment as any)()(date, DATE_FORMATS, true);
71+
const momentDate = (moment as any)(date, DATE_FORMATS, true);
7272
return momentDate.isValid();
7373
};
7474

@@ -78,7 +78,7 @@ export const isDateSupported = (date: string) => {
7878
* @returns - The end of the day in milliseconds
7979
*/
8080
export const getEndOfDayMillis = (date: string) => {
81-
const day = (moment as any)()(date);
81+
const day = (moment as any)(date);
8282
day.set({
8383
hour: 23,
8484
minute: 59,

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,6 @@
151151
"1.45.0": "1.4.13",
152152
"1.46.0": "1.4.13",
153153
"1.47.0": "1.4.13",
154-
"1.47.1": "1.4.13"
154+
"1.47.1": "1.4.13",
155+
"1.47.2": "1.4.13"
155156
}

0 commit comments

Comments
 (0)