Correction pour noeud xml

This commit is contained in:
echarp 2014-11-25 19:24:04 +01:00
parent 7c53e55d2c
commit f41e5ed054

View File

@ -4,8 +4,8 @@ xml.events do
@events.find_each do |event|
xml.event do
xml.title event.title
xml.start_time event.start_time.strftime '%Y/%m/%d %T'
xml.end_time event.end_time.strftime '%Y/%m/%d %T'
xml.tag! 'start-time', event.start_time.strftime('%Y/%m/%d %T')
xml.tag! 'end-time', event.end_time.strftime('%Y/%m/%d %T')
xml.address event.address
xml.city event.city
xml.region event.related_region