lib/adiwg/mdtranslator/writers/fgdc/classes/class_process.rb in adiwg-mdtranslator-2.7.0 vs lib/adiwg/mdtranslator/writers/fgdc/classes/class_process.rb in adiwg-mdtranslator-2.8.0
- old
+ new
@@ -58,9 +58,10 @@
unless hTimePeriod.empty?
hEndDT = hTimePeriod[:endDateTime]
unless hEndDT.empty?
procDate = AdiwgDateTimeFun.stringDateFromDateTime(hEndDT[:dateTime], hEndDT[:dateResolution])
procTime = AdiwgDateTimeFun.stringTimeFromDateTime(hEndDT[:dateTime], hEndDT[:dateResolution])
+ procDate.gsub!(/[-]/,'')
unless procDate == 'ERROR'
@xml.tag!('procdate', procDate)
haveProcDate = true
end
unless procTime == 'ERROR'