rails/rails — pull request #15416 by jsgarvin (2014-05-30 00:36:37+00:00)
Title: Consolidate duplicate to_formatted_s method

I found some duplicate code in the Date and Time core extensions and thought it would be easy enough to consolidate. I followed the convention already used for common Date and Time methods in the core extensions by putting the module in the date_and_time folder/namespace.

I'm not so sure how I feel about the end result, though, and welcome any feedback and suggestions.