From 42a4e32daca13b518e64e5821080ff3d6adf0e39 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Mon, 26 Jan 2026 16:49:44 -1000 Subject: 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 --- issues/bug_004_trello_cards_missing.md | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 issues/bug_004_trello_cards_missing.md (limited to 'issues/bug_004_trello_cards_missing.md') diff --git a/issues/bug_004_trello_cards_missing.md b/issues/bug_004_trello_cards_missing.md deleted file mode 100644 index c882424..0000000 --- a/issues/bug_004_trello_cards_missing.md +++ /dev/null @@ -1,31 +0,0 @@ -# Bug: Trello cards not showing on all boards - -## Status -Open - -## Symptoms -- Only one board shows cards -- Other boards with cards appear empty -- Refresh works (no 403 error) but doesn't fix the issue -- No errors in server logs - -## Investigation Notes -- CSRF fix applied - refresh now works -- API client code looks correct (fetches all boards, then cards per board) -- Cache logic appears correct (SaveBoards clears and replaces all data) -- Need to investigate: - - Is the Trello API returning all cards? - - Is there a filter issue (`visible` vs `all`)? - - Board permissions issue on Trello side? - - Race condition in concurrent card fetching? - -## Reproduction -1. Login to dashboard -2. Go to Planning tab -3. Observe: only one board has cards, others are empty -4. Compare with actual Trello - should have cards on multiple boards - -## Next Steps -- Add logging to trace Trello API responses -- Check if specific boards are returning empty card arrays -- Verify Trello API credentials have access to all boards -- cgit v1.2.3