diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 16:49:44 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-26 16:49:44 -1000 |
| commit | 42a4e32daca13b518e64e5821080ff3d6adf0e39 (patch) | |
| tree | 639c790e25b961ecf51ab6ea75206bc3432f1548 /issues/bug_004_trello_cards_missing.md | |
| parent | 8de1b5cb8915ed9a6e32566431d05fafafeb338d (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/bug_004_trello_cards_missing.md')
| -rw-r--r-- | issues/bug_004_trello_cards_missing.md | 31 |
1 files changed, 0 insertions, 31 deletions
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 |
