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

Version Path
xing-framework-1.0.0.pre.beta.1 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-1.0.0.pre.beta default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-1.0.0.pre.alpha default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.3.2 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.3.1 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.3.0 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.9 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.9.beta1 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.8 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.8.beta1 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.7 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.7.pre.beta1 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.6 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.5 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.4 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.3 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.2 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.1 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.2.0 default_configuration/base_app/backend/config/initializers/time_formats.rb
xing-framework-0.0.3 default_configuration/base_app/backend/config/initializers/time_formats.rb