Sha256: b2d41dfff1e4f0f7ad9f77b99b7df0ddc8f9878387648fe65f24c00699194ff4
Contents?: true
Size: 621 Bytes
Versions: 21
Compression:
Stored size: 621 Bytes
Contents
my_formats = { :short_date => '%-m/%-d/%Y', # 3/2/2010 :time => "%-I:%M %p ", # 2:06 pm :month_year => "%b %Y", # Mar 2010 :month_day_year => "%B %-d, %Y", # March 2, 2010 :sync => '%m/%d/%Y %T', # 3/2/2010 02:06:00 ( or 3/2/2010 02:06:00 for morning) :date_and_time => "%B %-d, %Y %l:%M %p", # March 2, 2010 2:06 pm :date => "%B %-d, %Y", # March 2, 2010, :weekday_month_day_year => "%A, %B %-d, %Y", # Tuesday, March 2, 2010 } Time::DATE_FORMATS.merge!(my_formats) Date::DATE_FORMATS.merge!(my_formats)
Version data entries
21 entries across 21 versions & 1 rubygems