diff --git a/dist/manifest.json b/dist/manifest.json index b3ed915..734f712 100644 --- a/dist/manifest.json +++ b/dist/manifest.json @@ -1,7 +1,7 @@ { "id": "time-ruler", "name": "Time Ruler", - "version": "2.0.1", + "version": "2.0.2", "minAppVersion": "0.15.0", "description": "A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).", "author": "Joshua Tazman Reinier", diff --git a/manifest.json b/manifest.json index b3ed915..734f712 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "time-ruler", "name": "Time Ruler", - "version": "2.0.1", + "version": "2.0.2", "minAppVersion": "0.15.0", "description": "A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).", "author": "Joshua Tazman Reinier", diff --git a/src/components/Day.tsx b/src/components/Day.tsx index 9a479e5..6f39d49 100644 --- a/src/components/Day.tsx +++ b/src/components/Day.tsx @@ -70,9 +70,6 @@ export default function Day({ : scheduled === startDate : scheduled >= startISO && scheduled < endISO - if (scheduled === '12-26-2023') { - console.log(startDate, scheduled <= startDate) - } const dueToday = !task.due ? false : task.due >= startDate if (dueToday) { diff --git a/src/services/obsidianApi.ts b/src/services/obsidianApi.ts index c353563..231d96f 100644 --- a/src/services/obsidianApi.ts +++ b/src/services/obsidianApi.ts @@ -559,7 +559,7 @@ export async function getDailyNoteInfo(): Promise< AppState['dailyNoteInfo'] | undefined > { try { - let { folder, format, template } = (await app.vault + let { folder, format, template } = (await this.app.vault .readConfigJson('daily-notes') .catch(() => { return { folder: undefined, format: undefined } @@ -576,7 +576,11 @@ export async function getDailyNoteInfo(): Promise< } } catch (err) { console.error(err) - return + return { + format: 'YYYY-MM-DD', + folder: '/', + template: '', + } } }