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 timezone out of sync issue with delayed refresh #1

Open
nathan78906 opened this issue Jun 14, 2022 · 0 comments
Open

Fix timezone out of sync issue with delayed refresh #1

nathan78906 opened this issue Jun 14, 2022 · 0 comments

Comments

@nathan78906
Copy link
Owner

Time value in DB should match time of last update from API response

https://github.com/nathan78906/StockAlerts/blob/master/price_alerts.py#L40

Edge case when refresh is delayed and script starts running on a new day in UTC time, will keep looping since date_last_price_alert should actually have been set to the day before

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

No branches or pull requests

1 participant