Skip to content

Show date range on monthly report page - #108

Merged
gusaiani merged 1 commit into
mainfrom
feat/report-date-range
Apr 4, 2026
Merged

Show date range on monthly report page#108
gusaiani merged 1 commit into
mainfrom
feat/report-date-range

Conversation

@gusaiani

@gusaiani gusaiani commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Display the covered period (e.g. "Mar 4 – Apr 3") above the total on the report page
  • API now returns period_start and period_end in the /report/monthly response
  • Guest mode also computes and shows the date range

Test plan

  • Visit /report — verify date range appears above the total
  • pytest tests/test_report.py — 9 tests pass, including new assertions for period fields

The report covers the last 30 days but the page didn't say so —
now it displays "Mar 4 – Apr 3" (or equivalent) above the total.
@gusaiani
gusaiani enabled auto-merge (squash) April 4, 2026 02:13
@gusaiani
gusaiani merged commit 70b1e25 into main Apr 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant