Skip to content

Commit 1ad7550

Browse files
committed
Started replacing dayjs with Luxon, started refactoring Date module, added invertTrayColor to store migration
1 parent 5cc4dec commit 1ad7550

File tree

8 files changed

+164
-140
lines changed

8 files changed

+164
-140
lines changed

Diff for: package-lock.json

+79-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"electron-store": "^10.0.1",
5555
"i18next": "^24.2.2",
5656
"jstodotxt": "1.0.0-alpha.3",
57+
"luxon": "^3.5.0",
5758
"react": "^19.0.0",
5859
"react-autosuggest": "^10.1.0",
5960
"react-dom": "^19.0.0",
@@ -67,6 +68,7 @@
6768
"@electron-toolkit/eslint-config-prettier": "^3.0.0",
6869
"@electron-toolkit/eslint-config-ts": "^3.0.0",
6970
"@electron-toolkit/tsconfig": "^1.0.1",
71+
"@types/luxon": "^3.4.2",
7072
"@types/node": "^22.13.5",
7173
"@types/react": "^19.0.10",
7274
"@types/react-dom": "^19.0.4",

Diff for: src/main/DataRequest/CreateTodoObjects.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function createTodoObjects(fileContent: string | null): TodoObject[] | [] {
9090
const todoObject: TodoObject = createTodoObject(index, line)
9191

9292
if (SettingsStore.get('notificationsAllowed') && todoObject.body && todoObject.due && !todoObject.complete) {
93-
HandleNotification(dayjs(todoObject.due, 'YYYY-MM-DD'), todoObject.body, badge)
93+
HandleNotification(todoObject.due, todoObject.body, badge)
9494
}
9595

9696
return todoObject

0 commit comments

Comments
 (0)