diff --git a/app/views/admin/communication/websites/agenda/events/static.html.erb b/app/views/admin/communication/websites/agenda/events/static.html.erb index a95e2cb5b53036ee33c8d5571a12da403294a3ff..40753a91c737a76d2726690e5cfeb3d2de170909 100644 --- a/app/views/admin/communication/websites/agenda/events/static.html.erb +++ b/app/views/admin/communication/websites/agenda/events/static.html.erb @@ -1,6 +1,16 @@ --- title: "<%= @about.title %>" -date: "<%= @about.from_day&.iso8601 %>" +dates: + from: + day: <%= @about.from_day %> +<% if @about.from_hour %> + hour: <%= @about.from_hour.strftime "%H:%M" %> +<% end %> + to: + day: <%= @about.to_day %> +<% if @about.to_hour %> + hour: <%= @about.to_hour.strftime "%H:%M" %> +<% end %> <%= render 'admin/application/static/permalink' %> <%= render 'admin/application/static/design', full_width: false, toc_offcanvas: false %> <%= render 'admin/application/i18n/static' %>