Sha256: ab1aec009c4d9de36750b91963f32013dfbf98b34216b2c00f61d89e6d52b108

Contents?: true

Size: 249 Bytes

Versions: 77

Compression:

Stored size: 249 Bytes

Contents

require 'active_support/core_ext/time/conversions'
require 'active_support/core_ext/object/json'

class Time
  DATE_FORMATS ||= {}
  DATE_FORMATS[:default] = '%Y-%m-%d %H:%M:%S'

  def inspect
    to_s
  end

  def as_json(*args)
    to_s
  end
end

Version data entries

77 entries across 77 versions & 4 rubygems

Version Path
arql-0.2.6 lib/arql/ext/time.rb
arql-0.2.5 lib/arql/ext/time.rb
arql-0.2.4 lib/arql/ext/time.rb
arql-0.2.3 lib/arql/ext/time.rb
arql-0.2.2 lib/arql/ext/time.rb
arql-0.2.1 lib/arql/ext/time.rb
arql-0.2.0 lib/arql/ext/time.rb
arql-0.1.33 lib/arql/ext/time.rb
arql-0.1.32 lib/arql/ext/time.rb
prize-0.3.0 lib/prize/ext/time.rb
arql-0.1.31 lib/arql/ext/time.rb
arql-0.1.30 lib/arql/ext/time.rb
arql-0.1.29 lib/arql/ext/time.rb
arql-0.1.28 lib/arql/ext/time.rb
arql-0.1.27 lib/arql/ext/time.rb
arql-0.1.26 lib/arql/ext/time.rb
arql-0.1.25 lib/arql/ext/time.rb