feat: use today's date in market email subject and show session date in body #196

Merged
joshtronic merged 1 commit from agent/195-market-email-s-subject-line-should-reflect-the into master 2026-06-10 00:49:10 +00:00
Collaborator

What this PR does

  • feat: use today's date in market email subject and show session date in body
  • Inject report_date (today, YYYY-MM-DD) into the report JSON before rendering
  • Subject becomes [Market] <formatted today> (e.g. "Tuesday, June 9th, 2026")
  • Body heading uses report_date; subtitle reads "Data from the previous trading session (YYYY-MM-DD)" so weekends and holidays are unambiguous

Test plan

  • jq expressions verified manually against fixture JSON -- output is correct
  • bin/check-sync.sh passes
  • Manual: wait for next weekday market tick; confirm subject shows today's date and body shows previous session date

Closes #195

## What this PR does - [x] feat: use today's date in market email subject and show session date in body - [x] Inject `report_date` (today, YYYY-MM-DD) into the report JSON before rendering - [x] Subject becomes `[Market] <formatted today>` (e.g. "Tuesday, June 9th, 2026") - [x] Body heading uses `report_date`; subtitle reads "Data from the previous trading session (YYYY-MM-DD)" so weekends and holidays are unambiguous ## Test plan - [x] jq expressions verified manually against fixture JSON -- output is correct - [x] `bin/check-sync.sh` passes - [ ] Manual: wait for next weekday market tick; confirm subject shows today's date and body shows previous session date Closes #195
feat: use today's date in market email subject and show session date in body
All checks were successful
Lint / check-sync (pull_request) Successful in 4s
Lint / check-sync (push) Successful in 3s
3dd41e92d4
joshtronic deleted branch agent/195-market-email-s-subject-line-should-reflect-the 2026-06-10 00:49:11 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joshtronic/igor!196
No description provided.