#752: Bibupload: Get creation and modification dates from MARCXML
-------------------------+-----------------
Reporter: bthiell | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: BibUpload | Version:
Keywords: dates |
-------------------------+-----------------
When importing records from a previous system, it is sometimes important
to preserve the creation and modification dates. These can be imported as
part of the MARCXML, e.g.:
{{{
<datafield tag="961" ind1=" " ind2=" ">
<subfield code="c">2009-11-30T23:22:50</subfield>
<subfield code="x">1991-09-02T17:21:17</subfield>
</datafield>
}}}
The creation and modification dates in Invenio are stored in the table
{{{bibrec}}}. One solution would be to add an option in bibupload to
override the default dates with the one found in the MARCXML.
See [http://invenio-
software.org/browser/modules/bibupload/lib/bibupload.py#L1505
update_bibrec_modif_date] for an example of date update in the database.
--
Ticket URL: <http://invenio-software.org/ticket/752>
Invenio <http://invenio-software.org>