Sha256: 241cf3ef610cc9662c44ba6bdbdd5a2e7e827913bb2b1919c9c47691b38c5236

Contents?: true

Size: 563 Bytes

Versions: 52

Compression:

Stored size: 563 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

52 entries across 52 versions & 3 rubygems

Version Path
blog_logic-1.4.2 config/initializers/formats.rb
site_logic-1.9.4 config/initializers/formats.rb
site_logic-1.9.3 config/initializers/formats.rb
blog_logic-1.4.1 config/initializers/formats.rb
ppc_logic-0.8.0 config/initializers/formats.rb
blog_logic-1.4.0 config/initializers/formats.rb
blog_logic-1.3.1 config/initializers/formats.rb
blog_logic-1.3.0 config/initializers/formats.rb
blog_logic-1.2.4 config/initializers/formats.rb
site_logic-1.9.2 config/initializers/formats.rb
blog_logic-1.2.3 config/initializers/formats.rb
blog_logic-1.2.2 config/initializers/formats.rb
blog_logic-1.2.1 config/initializers/formats.rb
site_logic-1.9.1 config/initializers/formats.rb
blog_logic-1.2.0 config/initializers/formats.rb
blog_logic-1.1.9 config/initializers/formats.rb
site_logic-1.9.0 config/initializers/formats.rb
site_logic-1.8.0 config/initializers/formats.rb
site_logic-1.7.1 config/initializers/formats.rb
blog_logic-1.1.8 config/initializers/formats.rb