25 September 2010

Rails Date Formats

Handwritten by TVD

For the newly initiated (we all were at some time), getting a handle on date formats in Rails can be confusing. Believe me, I understand. Rails is a lot like Chicago. If you’re not careful, you might forget it’s part of Ruby.

When I talk to developers, the biggest confusion I see comes from forgetting that Rails is built on top of the Ruby programming language. Therefore, what you’re really searching for is Ruby date formatting.