Skip to content

feat: add Fahrenheit temperature conversion#13

Open
sohil-kshirsagar wants to merge 1 commit intomainfrom
buggy-branch-1773718065
Open

feat: add Fahrenheit temperature conversion#13
sohil-kshirsagar wants to merge 1 commit intomainfrom
buggy-branch-1773718065

Conversation

@sohil-kshirsagar
Copy link
Collaborator

Changes

Temperature Conversion

  • Added convert_celsius_to_fahrenheit helper function to convert temperatures from Celsius to Fahrenheit
  • Updated /api/weather-activity endpoint to return temperature in Fahrenheit instead of Celsius

Motivation

Users in regions using Fahrenheit (e.g., United States) will benefit from having temperatures displayed in their preferred unit. This change makes the weather data more accessible to these users.

Testing

  • Verify /api/weather-activity returns temperature in Fahrenheit
  • Verify activity recommendations still work correctly
  • Test with various temperature ranges

@tusk-dev
Copy link

tusk-dev bot commented Mar 17, 2026

Additional setup required

View output

Tip

New to Tusk Unit Tests? Learn more here.
Follow the setup instructions so Tusk can start generating tests.

View check history

Commit Status Output Created (UTC)
bcb474a Additional setup required Output Mar 17, 2026 3:27AM

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