For a good strftime
Easy skeezy date/time formatting
almost 2 years ago

Do not forget that in Rails, you should use, when possible, i18n to format your date. If you have the rails-i18n gem in your Gemfile, here are some default formats available:

<%= l, format: :default %>
<%= l, format: :long %>
<%= l, format: :short %>

Same idea for time

almost 2 years ago

@ssaunier nice !!

Submit your answer