X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/93d25ebdd6f8d3b7755f09ca868f70943e98dd1c..c7734daf3d6884c358f1644c1f8f7970453fafb1:/src/librarian/dcparser.py diff --git a/src/librarian/dcparser.py b/src/librarian/dcparser.py index b89abd1..2edba6c 100644 --- a/src/librarian/dcparser.py +++ b/src/librarian/dcparser.py @@ -15,7 +15,6 @@ import lxml.etree as etree from lxml.etree import XMLSyntaxError from librarian.meta.types.bool import BoolValue -from librarian.meta.types.date import DateValue from librarian.meta.types.person import Person from librarian.meta.types.wluri import WLURI from librarian.meta.types import text @@ -121,7 +120,7 @@ class WorkInfo(six.with_metaclass(DCInfo, object)): Field(DCNS('contributor.thanks'), 'thanks', required=False), Field(DCNS('date'), 'created_at'), - Field(DCNS('date.pd'), 'released_to_public_domain_at', DateValue, + Field(DCNS('date.pd'), 'released_to_public_domain_at', required=False), Field(DCNS('publisher'), 'publisher', multiple=True),