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.4.11 lib/arql/ext/time.rb
arql-0.4.10 lib/arql/ext/time.rb
arql-0.4.8 lib/arql/ext/time.rb
arql-0.4.7 lib/arql/ext/time.rb
arql-0.4.6 lib/arql/ext/time.rb
arql-0.4.3 lib/arql/ext/time.rb
arql-0.4.2 lib/arql/ext/time.rb
arql-0.4.1 lib/arql/ext/time.rb
arql-0.4.0 lib/arql/ext/time.rb
arql-0.3.31 lib/arql/ext/time.rb
arql-0.3.30 lib/arql/ext/time.rb
crudboy-0.1.5 lib/crudboy/ext/time.rb
arql-0.3.29 lib/arql/ext/time.rb
arql-0.3.28 lib/arql/ext/time.rb
arql-0.3.27 lib/arql/ext/time.rb
arql-0.3.26 lib/arql/ext/time.rb
arql-0.3.25 lib/arql/ext/time.rb
arql-0.3.24 lib/arql/ext/time.rb
arql-0.3.23 lib/arql/ext/time.rb
crudboy-0.1.4 lib/crudboy/ext/time.rb