inveniosoftware / invenio-rdm-records

DataCite-based data model for InvenioRDM flavour.
https://invenio-rdm-records.readthedocs.io
MIT License
15 stars 84 forks source link

Support less specific dates #68

Closed dfdan closed 4 years ago

dfdan commented 4 years ago

When dealing with historic material, dates are not always known to an accuracy of a specific day.

Would it be possible to support YYYY / YYYY-MM (and even, dare I ask -MM-DD) both in publication_date, and the general dates?

fenekku commented 4 years ago

Definitely something we do want to do in some fashion.

Our institution has special materials that need this too.

ppanero commented 4 years ago

@fenekku this can be achieved/has been done as part of the EDTF lvl0. No? (Ok, not the `-MM-DD´tho, but the rest).

fenekku commented 4 years ago

@ppanero @dfdan Yes, this has been in part addressed by https://github.com/inveniosoftware/invenio-rdm-records/pull/79 .

Is that combination enough for now? Only "MM-DD" would be missing... but if you have a guess at the year you can enter those as publication_date EDTF intervals or dates's start_date end_date intervals.

If that works for you, I will mark this as closed via #79 .

fenekku commented 4 years ago

Thanks! Closed via #79