Skip to content

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Tazman Reinier committed Dec 25, 2023
1 parent 60a740f commit 7ca9ac2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 0 additions & 3 deletions src/components/Day.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
8 changes: 6 additions & 2 deletions src/services/obsidianApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -576,7 +576,11 @@ export async function getDailyNoteInfo(): Promise<
}
} catch (err) {
console.error(err)
return
return {
format: 'YYYY-MM-DD',
folder: '/',
template: '',
}
}
}

Expand Down

0 comments on commit 7ca9ac2

Please sign in to comment.