Skip to content

Correct units for Kilojoules, add units for calories and hydration volume#111

Open
jacobdonenfeld wants to merge 2 commits into
mvilanova:mainfrom
jacobdonenfeld:patch-1
Open

Correct units for Kilojoules, add units for calories and hydration volume#111
jacobdonenfeld wants to merge 2 commits into
mvilanova:mainfrom
jacobdonenfeld:patch-1

Conversation

@jacobdonenfeld
Copy link
Copy Markdown

Match the title of Work and Work > FTP to intervals.icu. Fix the bug with units incorrectly specifying the value is kJ when it is J.
Screenshot 2026-05-24 at 1 53 28 PM

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the human-readable formatting output to better match Intervals.icu terminology and correct unit labeling for work/energy, plus adds missing units for some wellness nutrition/hydration fields.

Changes:

  • Rename the activity “Kilojoules” label to “Work” and explicitly label the value as Joules (J).
  • Rename interval “Joules”/“Joules > FTP” labels to “Work”/“Work > FTP”, with J units.
  • Add explicit units for wellness fields: calories consumed (kcal) and hydration volume (ml).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/intervals_mcp_server/utils/formatting.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

2 participants