Skip to content

Instantly share code, notes, and snippets.

@arjunghosh
Created February 19, 2009 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arjunghosh/66960 to your computer and use it in GitHub Desktop.
Save arjunghosh/66960 to your computer and use it in GitHub Desktop.
# A nice way to format the default rails date magic field to human readable format
@foo.created_at.strftime("%b %d %Y")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment