Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Tazman Reinier committed Dec 25, 2023
1 parent 94f4b22 commit 60a740f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@

# Changelog

## 2.0.1 (12/25/2023)

**Fixed:**
- Scheduling tasks for today

## 2.0.0 (12/24/2023)

**Major changes:**
Expand Down
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.0",
"version": "2.0.1",
"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.0",
"version": "2.0.1",
"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
9 changes: 6 additions & 3 deletions src/components/Day.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,15 @@ export default function Day({

const scheduledForToday = !scheduled
? false
: isToday
? scheduled <= endISO
: isDateISO(scheduled)
? scheduled === startDate
? isToday
? scheduled <= startDate
: 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

0 comments on commit 60a740f

Please sign in to comment.