lib/briard/readers/datacite_reader.rb in briard-2.2.3 vs lib/briard/readers/datacite_reader.rb in briard-2.2.4

- old
+ new

@@ -119,10 +119,10 @@ elsif subject.is_a?(Hash) sum += hsh_to_fos(subject) end sum - end.uniq + end.uniq { |s| s["subject"] } dates = Array.wrap(meta.dig("dates", "date")).map do |r| if r.is_a?(Hash) && date = sanitize(r["__content__"]).presence if Date.edtf(date).present? || Briard::Utils::UNKNOWN_INFORMATION.key?(date) { "date" => date,