Skip to content
Snippets Groups Projects
Commit 9a67ae51 authored by anonymous's avatar anonymous
Browse files

fixes metadata_modified format so it can be compared while harvesting

parent 7a3cbb89
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ class KielHarvester(HarvesterBase):
for date in package_dict['extras']['dates']:
if date['role'] == 'veroeffentlicht':
published = date['date']
package_dict['metadata_modified'] = datetime.datetime.strptime(published, "%d.%m.%Y")
package_dict['metadata_modified'] = datetime.datetime.strptime(published, "%d.%m.%Y").isoformat()
source_dataset = get_action('package_show')(context.copy(), {'id': harvest_object.source.id})
package_dict['owner_org'] = source_dataset.get('owner_org')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment