Follow Along as I Stumble on the Path to Learning RoR

Formatting Date Display in Rails

I needed help in formatting time in Rails and found here in the strftime( string ) → string section.  In particular, I wanted to change the default timestamp (created_at) to an American format MM/DD/YYYY.

http://www.ruby-doc.org/core-1.9.3/Time.html#M000297

 

Advertisements

Comments are closed.