Zero fill specific date strings #719#728
Merged
pt-kkraemer merged 3 commits intoOpenEnergyPlatform:developfrom Apr 2, 2026
Merged
Zero fill specific date strings #719#728pt-kkraemer merged 3 commits intoOpenEnergyPlatform:developfrom
pt-kkraemer merged 3 commits intoOpenEnergyPlatform:developfrom
Conversation
Member
|
@pt-kkraemer did you run the tests locally? Because of the problem described in #729 the tests do not trigger, but it is also annoying to always commit some super small changes just to trigger the tests. |
Collaborator
Author
Member
|
No, we will need to update tests anyway. Can you delete/move everything from .open-mastr/data and then run the tests? At least the missing xml file test should not fail then anymore. |
Collaborator
Author
FlorianK13
approved these changes
Apr 2, 2026
Member
|
@pt-kkraemer lgtm - you can merge if you want. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary of the discussion
When date-typos occur in years (0219 instead of 2019) and we do not pad these values when converting to string, the pandas
pd.read_sqlcall cannot handle three-digit-years, it is simply not a correct isoformat, see #719.Type of change (CHANGELOG.md)
Updated
.str.zfill(10)incast_date_columns_to_stringWorkflow checklist
None.str.zfill(10)does not work because'NoneType' object has no attribute 'str'Automation
Closes #719
PR-Assignee
Reviewer