lib/adiwg/mdtranslator/readers/fgdc/modules/module_timePeriod.rb in adiwg-mdtranslator-2.6.0 vs lib/adiwg/mdtranslator/readers/fgdc/modules/module_timePeriod.rb in adiwg-mdtranslator-2.6.1
- old
+ new
@@ -63,9 +63,12 @@
end
end
# time period 9.2 (mdattim) - multiple date times
+ # -> place into timePeriod since mdJson does not handle multi-date
+ # -> did not put multi-date in temporalExtent since it would be
+ # -> difficult to return it to the same context
xMulti = xTimeInfo.xpath('./mdattim')
unless xMulti.empty?
# use first occurrence of the multiple date-times as start date
xStart = xMulti.xpath('//sngdate').first