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

Missing timezone-conversion in query_day_ahead_prices() #356

Closed
bantu opened this issue Oct 17, 2024 · 2 comments
Closed

Missing timezone-conversion in query_day_ahead_prices() #356

bantu opened this issue Oct 17, 2024 · 2 comments

Comments

@bantu
Copy link

bantu commented Oct 17, 2024

5e9f4c6#diff-80a09bedd7384672dc1f3edebe8107fa26dcc992e71e812dc8b142b0a2ace615L1234 removed the statement series = series.tz_convert(area.tz). Thus, in version 0.6.12 the returned dataframe no longer has a timezone assigned. This was the case in version 0.6.11. I do not believe this change was intended as it changes the format of the returned dataframe.

@fboerman
Copy link
Collaborator

hi @bantu many thanks for pointing at this. this was indeed a mistake by me to get the fix quickly out of the door to help people. my apologies!
please note that timezone does not disappear. the results still are timezone aware but they are simply not converted to the local timezone so are always in UTC. I will quickly push a fix

@bantu
Copy link
Author

bantu commented Oct 17, 2024

Excellent.

Confirming fix.

Thank you

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

2 participants