Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix improper query time when query and forecast timedelta is larger than one day #11

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

alexstoken
Copy link
Contributor

@alexstoken alexstoken commented Jul 26, 2024

the timedelta.seconds property is unreliable when timedeltas are larger than 24hrs (see here)

PR replaces this with timedelta.total_seconds() to get the true value.

This may fix #8 .

Thanks for building this great utility!

@jagoosw
Copy link
Owner

jagoosw commented Jul 28, 2024

Thank you for this fix!

Do you happen to have any experience managing Python packages as I haven't worked on this for a while and it seems that the way to release them has changed?

@jagoosw jagoosw merged commit a88dc9d into jagoosw:master Jul 28, 2024
1 check failed
@jagoosw
Copy link
Owner

jagoosw commented Jul 28, 2024

I think I've released it now.

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.

Request all data from next day for once
2 participants