Correction pour noeud xml
This commit is contained in:
parent
7c53e55d2c
commit
f41e5ed054
@ -4,8 +4,8 @@ xml.events do
|
|||||||
@events.find_each do |event|
|
@events.find_each do |event|
|
||||||
xml.event do
|
xml.event do
|
||||||
xml.title event.title
|
xml.title event.title
|
||||||
xml.start_time event.start_time.strftime '%Y/%m/%d %T'
|
xml.tag! 'start-time', event.start_time.strftime('%Y/%m/%d %T')
|
||||||
xml.end_time event.end_time.strftime '%Y/%m/%d %T'
|
xml.tag! 'end-time', event.end_time.strftime('%Y/%m/%d %T')
|
||||||
xml.address event.address
|
xml.address event.address
|
||||||
xml.city event.city
|
xml.city event.city
|
||||||
xml.region event.related_region
|
xml.region event.related_region
|
||||||
|
Loading…
Reference in New Issue
Block a user