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

Accomodate date-type in parse_date #157

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

enjalot
Copy link
Contributor

@enjalot enjalot commented Oct 16, 2024

180/955 articles in oa_comm_xml.incr.2024-10-04 had dates recorded like:
<pub-date date-type="collection" publication-format="electronic"><month>9</month><year>2024</year></pub-date>
instead of

<pub-date pub-type="collection" publication-format="electronic"><month>9</month><year>2024</year></pub-date>

these changes will now properly parse those dates and not error on parsing the whole document

180/955 articles in oa_comm_xml.incr.2024-10-04 had dates recorded like: 
```<pub-date date-type="collection" publication-format="electronic"><month>9</month><year>2024</year></pub-date>```
instead of 
```
<pub-date pub-type="collection" publication-format="electronic"><month>9</month><year>2024</year></pub-date>
```
these changes will now properly parse those dates and not error on parsing the whole document
@Michael-E-Rose Michael-E-Rose merged commit 5866025 into titipata:master Oct 16, 2024
0 of 2 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