artefactual-labs / mets-reader-writer

Library to parse and create METS files, especially for Archivematica.
https://mets-reader-writer.readthedocs.io
GNU Affero General Public License v3.0
20 stars 13 forks source link

premisrw: support datetime values #87

Closed sevein closed 3 years ago

sevein commented 3 years ago

This avoids the following error in Python 3 when using datetime values:

TypeError: cannot convert 'datetime.datetime' object to bytes

Connects to https://github.com/archivematica/Issues/issues/808.