lib/bolognese/datacite_utils.rb in bolognese-0.5.3 vs lib/bolognese/datacite_utils.rb in bolognese-0.6.1

- old
+ new

@@ -121,10 +121,10 @@ def insert_publisher(xml) xml.publisher(container_title) end def insert_publication_year(xml) - xml.publicationYear(date_published && date_published[0..3]) + xml.publicationYear(publication_year) end def resource_type { "resource_type_general" => SO_TO_DC_TRANSLATIONS[type] || "Other", "__content__" => additional_type || type }