Skip to content

fix: No date values added to database for Datacite records with empty date array#5

Open
aaronm-2112 wants to merge 3 commits into
mainfrom
datacaite-empty-array
Open

fix: No date values added to database for Datacite records with empty date array#5
aaronm-2112 wants to merge 3 commits into
mainfrom
datacaite-empty-array

Conversation

@aaronm-2112
Copy link
Copy Markdown
Collaborator

Datacite date arrays can be empty. When this happens we fall back to created and registered dates. Registered is preferred. NOTE: the registered date is the date the DOI is resolvable not necessarily when the dataset was first published.

The date values for all non-datacite entries remain the same after a test run. In the same test run, the date values for datacite values are updated to use registered when the date array is empty - none fell back so far that they need to use created date.

@aaronm-2112 aaronm-2112 changed the title Datacaite empty array fix: Datacite empty date array adds no usable date value to database May 14, 2026
@aaronm-2112 aaronm-2112 changed the title fix: Datacite empty date array adds no usable date value to database fix: No date values added to database for Datacite records with empty date array May 14, 2026
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