summaryrefslogtreecommitdiff
path: root/issues/task_001_remove_obsidian.md
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-26 16:49:44 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-26 16:49:44 -1000
commit42a4e32daca13b518e64e5821080ff3d6adf0e39 (patch)
tree639c790e25b961ecf51ab6ea75206bc3432f1548 /issues/task_001_remove_obsidian.md
parent8de1b5cb8915ed9a6e32566431d05fafafeb338d (diff)
Use configured timezone throughout codebase
- Add config/timezone.go with timezone utilities: - SetDisplayTimezone(), GetDisplayTimezone() - Now(), Today() - current time/date in display TZ - ParseDateInDisplayTZ(), ToDisplayTZ() - parsing helpers - Initialize timezone at startup in main.go - Update all datetime logic to use configured timezone: - handlers/handlers.go - all time.Now() calls - handlers/timeline.go - date parsing - handlers/timeline_logic.go - now calculation - models/atom.go - ComputeUIFields() - models/timeline.go - ComputeDaySection() - api/plantoeat.go - meal date parsing - api/todoist.go - due date parsing - api/trello.go - due date parsing This ensures all dates/times display correctly regardless of server timezone setting. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'issues/task_001_remove_obsidian.md')
-rw-r--r--issues/task_001_remove_obsidian.md37
1 files changed, 0 insertions, 37 deletions
diff --git a/issues/task_001_remove_obsidian.md b/issues/task_001_remove_obsidian.md
deleted file mode 100644
index c02a785..0000000
--- a/issues/task_001_remove_obsidian.md
+++ /dev/null
@@ -1,37 +0,0 @@
-# Remove Obsidian Functionality (COMPLETED)
-
-**Description:**
-Remove all code related to Obsidian integration to prepare for public server deployment. Obsidian relies on local filesystem access, which is not suitable for a public web server environment.
-
-**Status:**
-✅ COMPLETED
-
-**Changes Made:**
-1. **Core Logic:**
- * Deleted `internal/api/obsidian.go` and `internal/api/obsidian_test.go`.
- * Removed `ObsidianAPI` interface from `internal/api/interfaces.go`.
- * Removed `Note` struct from `internal/models/types.go`.
- * Removed `SourceObsidian` and `NoteToAtom` from `internal/models/atom.go`.
-
-2. **Configuration:**
- * Removed `ObsidianVaultPath` and `HasObsidian()` from `internal/config/config.go`.
- * Removed `OBSIDIAN_VAULT_PATH` from `.env.example`.
-
-3. **Handlers:**
- * Removed `obsidianClient` field from `Handler` struct in `internal/handlers/handlers.go`.
- * Updated `New` function signature.
- * Removed `HandleNotesTab` and `fetchNotes` methods.
- * Removed `HandleNotes` from `internal/handlers/tabs.go`.
- * Removed `obsidian` logic from `aggregateData`.
-
-4. **UI:**
- * Removed `web/templates/partials/obsidian-notes.html`.
- * Removed `web/templates/partials/notes-tab.html`.
- * Removed "Notes" tab button from `web/templates/index.html`.
- * Removed `obsidian` color from `tailwind.config.js`.
-
-5. **Main Entry Point:**
- * Updated `cmd/dashboard/main.go` (Handled by Implementor).
-
-6. **Tests:**
- * Updated `test/acceptance_test.go` and `internal/handlers/handlers_test.go`.