Skip to content

Conversation

@marcel-tan
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 Jan 7, 2026

✔️ Tusk Drift: 5 tests completed, 1 deviation (all intended) [View results ↗]

Tip

New to Tusk Drift?

Tusk Drift automatically records API calls and detects deviations from expected behavior in code changes (like this PR!)
Learn more about how Tusk Drift works here.

Note: This PR has 1 deviation. Upon merge, 1 test will be removed from the test suite (see FAQ for more details).

🟡 Intended deviations (1)

View check history

Commit Status Output Created (UTC)
63d78fc Completed Output 3 2 Jan 7, 2026 4:41AM

Was Tusk helpful? Give feedback by reacting with 👍 or 👎

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