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

Allow timezone override in localtime.parse_dt #93

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

benthorner
Copy link
Contributor

Follow up to 1.

This is necessary for compatibility with "industrytime" wrappers
in kraken-core, which inject the optional "tz" override 2.

Footnotes

  1. https://github.com/octoenergy/xocto/pull/91

  2. https://github.com/octoenergy/kraken-core/blob/bf82578340d2cc99b7e7902cd6f7ccd21a7f2f19/src/octoenergy/utils/industrytime.py#L110

This is necessary for compatibility with "industrytime" wrappers
in kraken-core, which inject the optional "tz" override [^1].

[^1]: https://github.com/octoenergy/kraken-core/blob/bf82578340d2cc99b7e7902cd6f7ccd21a7f2f19/src/octoenergy/utils/industrytime.py#L110
@benthorner benthorner marked this pull request as ready for review September 18, 2023 13:03
Copy link
Contributor

@GlennS GlennS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 thanks @benthorner

@benthorner benthorner merged commit e2d4948 into main Sep 19, 2023
1 check passed
@benthorner benthorner deleted the parse-dt-tz-override branch September 19, 2023 08:04
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.

2 participants