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

various changes to OAI-PMH output for compatibility #173

Merged

Conversation

martinobersteiner
Copy link
Collaborator

@martinobersteiner martinobersteiner commented Nov 12, 2024

ad pre_dump change

OAISchema is only used in serialization to .dump database-schemaed json to OAI-schemaed json
originally, OAISchema incorrectly used .load instead of .dump
this got changed in this commit
when moving from .load to .dump, the commit should also have exchanged the incorrect @pre_load for @pre_dump, but didn't

ad timezone-unawareness of now_isoformat

due to issues with timezone-awareness, datetimes are timezone-unaware for now
see here for discussion on this

some past commit rebuilt OAI-schema to use dump over load
it missed exchanging `pre_load` for `pre_dump` when doing so
@martinobersteiner martinobersteiner merged commit 417a84c into tu-graz-library:master Nov 13, 2024
4 checks passed
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