in language file es.yml i have
time: formats: short: "%d %b %H:%M"
when i try using it like:
<%= l my_object.created_at, :format => :short %>
it shows the following error
ActionView::TemplateError (missing interpolation argument in "%{count} %b %H:%M" ({:object=>Fri, 11 Jun 2010 09:00:00 CDT -05:00} given)) on line #68 of app/views/matches/_by_session.html.erb:
65: </div>
66:
67: <div>
68: <%= l match.starts_at, :format => :short %>
69: </div>
70:
71: </div>
How should i display de day... if %d doesnt work anymore.... Any ideas???