Skip to content

Update MultiHeaderMixin header formatting to match HeaderMixin formatting #544

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

briangow
Copy link
Contributor

In 63c987f updates to HeaderMixin were made to properly format the header date and time fields. This fix did not make it into MultiHeaderMixin (for multi-segment records). Therefore, writing a date using the wrheader method under MultiHeaderMixin currently results in writing the base_date as YYYY-MM-DD which isn't compatible with the DD/MM/YYYY format requirement.

This PR updated MultiHeaderMixin by using the code from HeaderMixin to properly set formats.

@briangow briangow requested a review from bemoody June 23, 2025 19:42
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.

1 participant