Sha256: 79119ff40c7801044fb526da5d8931ed8941e85397a020391e67e56b055c6dd4

Contents?: true

Size: 564 Bytes

Versions: 10

Compression:

Stored size: 564 Bytes

Contents

custom_date_formats = {
  :concise => '%m/%d/%Y',
  :date_time => '%b %e, %Y %I:%M %p',
  :date_and_hr_time => '%B %e, %Y at %I:%M %p',
  :day_only => '%d',
  :filename => '%m_%d_%y',
  :month_year => '%B %Y',
  :reverse => '%Y/%m/%d',
  :short_date_time => '%m/%d/%y at %l:%M %p',
  :short_month => '%b',
  :short_month_day => '%b %d',
  :short_month_year => '%b %Y',
  :time => '%I:%M %p',
  :no_year => '%B %d',
  :year_month => '%Y-%m',
  :analytics => '%Y-%m-%d'
}
Date::DATE_FORMATS.merge!(custom_date_formats)
Time::DATE_FORMATS.merge!(custom_date_formats)

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
site_logic-1.6.9 config/initializers/formats.rb
blog_logic-0.7.6 config/initializers/formats.rb
blog_logic-0.7.5 config/initializers/formats.rb
blog_logic-0.7.4 config/initializers/formats.rb
blog_logic-0.7.3 config/initializers/formats.rb
blog_logic-0.7.2 config/initializers/formats.rb
site_logic-1.6.8 config/initializers/formats.rb
mitamirri-2.0.8 config/initializers/formats.rb
site_logic-1.6.7 config/initializers/formats.rb
site_logic-1.6.6 config/initializers/formats.rb