Skip to content

fix(workout): show relative exercise history ages - #381

Open
SomSamantray wants to merge 1 commit into
DuarteSantos8:mainfrom
SomSamantray:fix/relative-exercise-history-age-363
Open

SomSamantray wants to merge 1 commit into
DuarteSantos8:mainfrom
SomSamantray:fix/relative-exercise-history-age-363

Conversation

@SomSamantray

Copy link
Copy Markdown

Summary

Workout history references now show how long ago the previous session was logged. Older dates combine months, weeks, and remaining days so entries such as 38 days ago read as “1 month, 8 days ago.”

Fixes #363.

Testing

  • cd frontend && npm test -- --reporter=dot — 3,164 tests passed.
  • API tests — 473 passed; MCP tests — 63 passed.
  • Frontend production build, locale checks, source-string checks, fatigue probe, coach-asset check, and API loadability check passed.
  • Browser check at /#/workout confirmed relative dates for Last time and Best set. Exercise images did not load because the local media proxy was unavailable.

AI disclosure: OpenAI Codex assisted with diagnosis, implementation, and verification.

This branch has not been deployed

No deployments
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.

change date into days

1 participant