Commit 6c59b32300cbb288785e6f390f91ef28c2446472

Authored by AntonioTerceiro
1 parent a9a7178e

ActionItem517: replace temp with query

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2174 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
app/helpers/dates_helper.rb
@@ -69,10 +69,7 @@ module DatesHelper @@ -69,10 +69,7 @@ module DatesHelper
69 month = Date.today.month 69 month = Date.today.month
70 end 70 end
71 71
72 - # FIXME Date#strftime should translate this for us !!!  
73 - monthname = month_name(month.to_i)  
74 -  
75 - _('%{month} %{year}') % { :year => year, :month => monthname } 72 + _('%{month} %{year}') % { :year => year, :month => month_name(month.to_i) }
76 end 73 end
77 74
78 def link_to_previous_month(year, month) 75 def link_to_previous_month(year, month)