Skip to content

Conversation

@mgazza
Copy link
Collaborator

@mgazza mgazza commented Oct 3, 2025

Summary

  • Fixes inconsistent parameter usage in minute_data function
  • Function was using self.forecast_days instead of the days parameter in one location

Bug Description

The minute_data function accepts a days parameter but was incorrectly using self.forecast_days on line 655 when calculating to_time. This could cause inconsistent behavior when the function is called with a different days value than self.forecast_days.

Changes Made

  • Line 655: Changed self.forecast_days to days parameter for consistency
  • Ensures function behavior matches its parameter interface

Impact

  • Low risk fix - corrects parameter usage consistency
  • Prevents potential edge cases where caller passes different days value
  • No functional change for current usage patterns

🤖 Generated with Claude Code

…st_days

The minute_data function has a 'days' parameter but was incorrectly using
self.forecast_days in one location (line 655) when calculating to_time.
This could cause inconsistent behavior when the function is called with
a different days value than self.forecast_days.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@springfall2008 springfall2008 merged commit aabac95 into main Oct 4, 2025
1 check passed
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.

3 participants