Sha256: 1e80609aaa483bd399d268a1d0a6cc54177d718eccd9f8d9594acf054724bad2

Contents?: true

Size: 177 Bytes

Versions: 53

Compression:

Stored size: 177 Bytes

Contents

# Example time formats
{ :short_date => "%x", :long_date => "%a, %b %d, %Y" }.each do |k, v|
  ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update(k => v)
end

Version data entries

53 entries across 53 versions & 11 rubygems

Version Path
gsterndale-warrant-0.2.0 test/rails_root/config/initializers/time_formats.rb
gsterndale-warrant-0.3.0 test/rails_root/config/initializers/time_formats.rb
hashrocket-clearance-0.4.0 test/rails_root/config/initializers/time_formats.rb
hashrocket-clearance-0.4.1 test/rails_root/config/initializers/time_formats.rb
hashrocket-clearance-0.4.2 test/rails_root/config/initializers/time_formats.rb
hashrocket-clearance-0.4.3 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.2 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.3 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.4 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.5 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.6 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.7 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.8 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.2.9 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.3.0 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.3.1 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.3.2 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.3.3 test/rails_root/config/initializers/time_formats.rb
thoughtbot-clearance-0.3.4 test/rails_root/config/initializers/time_formats.rb
janova-clearance-0.8.8 test/rails_root/config/initializers/time_formats.rb