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

Update create_dip.py to use PREMIS date #155

Merged

Conversation

ehanson8
Copy link
Contributor

@ehanson8 ehanson8 commented Aug 6, 2024

Resolves #147 by setting the modified date for files based on the PREMIS element dateCreatedByApplication rather than the FITS element fslastmodified.

Let me know if there are any requested changes, thanks!

* Update set_fslastmodified function to set_datecreatedbyapplication to use premis:dateCreatedByApplication for DIP files
* Add return after datecreatedbyapplication is not found to prevent double logging of the warning
Copy link
Member

@replaceafill replaceafill left a comment

Choose a reason for hiding this comment

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

Thank you so much for your contribution @ehanson8!

@replaceafill replaceafill merged commit 4ca4c22 into artefactual:master Aug 6, 2024
6 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.

Problem: fits:fslastmodified is not always available as a source for setting the modified date of DIP files
2 participants