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

calendar_events returns different datetimes when code is run in different timezones #282

Open
viseryon opened this issue Jul 5, 2024 · 0 comments

Comments

@viseryon
Copy link

viseryon commented Jul 5, 2024

Describe the bug
When I run the same code on my local machine UTC+2 and server UTC+0, I get back different times of planned earnings.

local machine
{'NFLX': {'maxAge': 1,
'earnings': {'earningsDate': ['2024-07-18 22:00:S'],
'earningsCallDate': [1713473100],
'isEarningsDateEstimate': False,
'earningsAverage': 4.41,
'earningsLow': 4.2,
'earningsHigh': 4.72,
'revenueAverage': 8864670000,
'revenueLow': 8782690000,
'revenueHigh': 9032030000}}}

server
2.3.7
{'NFLX': {'maxAge': 1, 'earnings': {'earningsDate': ['2024-07-18 20:00:S'], 'earningsCallDate': [1713473100], 'isEarningsDateEstimate': False, 'earningsAverage': 4.41, 'earningsLow': 4.2, 'earningsHigh': 4.72, 'revenueAverage': 8864670000, 'revenueLow': 8782690000, 'revenueHigh': 9032030000}}}

Is there a way to specify, which timezone should yahooquery use?
Thanks!

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