For a good strftime
Easy skeezy date/time formatting
about 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

about 2 years ago

@ssaunier nice !!

Submit your answer