Aldric Giacomoni wrote: > David Smit wrote: >> Currently my dates look like this: 2009-10-10 00:55:37 UTC >> I want to format them in my view to look like this: 10 Oct 2009 00:55 >> Is it possible to do the formatting in the view using the to_s method? >> > How about: > http://apidock.com/rails/ActiveSupport/TimeWithZone/to_s
Thanks for the quick response. This is exactly what I was looking for! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

