Format Authlogic "last_login_at" string

Posted by thermans on Stack Overflow See other posts from Stack Overflow or by thermans
Published on 2010-04-12T21:31:45Z Indexed on 2010/04/12 22:43 UTC
Read the original article Hit count: 391

Filed under:
|
|

Using Authlogic, the time format for @user.last_login_at" looks like this:

Mon Apr 12 16:52:56 -0400 2010

How can I mangle that into a more user friendly string?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby