Commit 5287eec8 authored by FarID's avatar FarID Committed by Uģis Ozols
Browse files

fix date internalization

parent 63e9429b
<% content_for :title, "#{t('.news_item_archive_for', :date => @archive_date.strftime('%B %Y'))}" %>
<% content_for :title, "#{t('.news_item_archive_for', :date => l(@archive_date, :format => '%B %Y'))}" %>
<% content_for :body_content_left do %>
<h1><%= t('.news_item_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1>
<h1><%= t('.news_item_archive_for', :date => l(@archive_date, :format => '%B %Y')) %></h1>
<% if @items.any? %>
<section id="news_items">
<%= render :partial => "/refinery/news/shared/item", :collection => @items %>
</section>
<% else %>
<p><%= t('.no_news_item_articles_posted', :date => @archive_date.strftime('%B %Y')) %></p>
<p><%= t('.no_news_item_articles_posted', :date => l(@archive_date, :format => '%B %Y')) %></p>
<% end %>
<% end %>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment