You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata can include dates that are in the format which contain a fraction of a second, this however then causes the REST API not to return this value.
The date is still available in the raw XML.
But reading the datacite schema spec, fractional dates are allowed and therefore EDTF doesn't quite cover this use case.
I suspect we went with EDTF back in the day because it was closest to what we needed.
If you look at the XSD https://schema.datacite.org/meta/kernel-4.4/metadata.xsd the descriptive text has: YYYY,YYYY-MM-DD, YYYY-MM-DDThh:mm:ssTZD or any other format or level of granularity described in W3CDTF. Use RKMS-ISO8601 standard for depicting date ranges.
So need a library that conforms to W3CDTF but I believe ISO 8601 is part of this.
If we change this from EDFT then I suspect we need to change every other reader not just datacite_reader, it will also notably break a few more specs when the change is made.
Metadata can include dates that are in the format which contain a fraction of a second, this however then causes the REST API not to return this value.
The date is still available in the raw XML.
The text was updated successfully, but these errors were encountered: