ActiveSupport、Time::DATE_FORMATS
>> require "rubygems" => true >> require "active_support" => true >> Time::DATE_FORMATS => {:long_ordinal=>#<Proc:0x4077f9bc@/usr/local/ruby-1.8.6/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/time/conversions.rb:12>, :rfc822=>"%a, %d %b %Y %H:%M:%S %z", :time=>"%H:%M", :number=>"%Y%m%d%H%M%S", :db=>"%Y-%m-%d %H:%M:%S", :short=>"%d %b %H:%M", :long=>"%B %d, %Y %H:%M"}