Sha256: 0e281741f3ce244359b0d3eac709f63d66a2286677ef0963de105ce929e28c3b

Contents?: true

Size: 242 Bytes

Versions: 16

Compression:

Stored size: 242 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
    to_s
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
arql-0.1.24 lib/arql/ext/time.rb
arql-0.1.23 lib/arql/ext/time.rb
arql-0.1.22 lib/arql/ext/time.rb
arql-0.1.21 lib/arql/ext/time.rb
arql-0.1.20 lib/arql/ext/time.rb
arql-0.1.19 lib/arql/ext/time.rb
arql-0.1.18 lib/arql/ext/time.rb
arql-0.1.17 lib/arql/ext/time.rb
arql-0.1.16 lib/arql/ext/time.rb
arql-0.1.15 lib/arql/ext/time.rb
arql-0.1.14 lib/arql/ext/time.rb
arql-0.1.13 lib/arql/ext/time.rb
arql-0.1.12 lib/arql/ext/time.rb
arql-0.1.11 lib/arql/ext/time.rb
arql-0.1.10 lib/arql/ext/time.rb
arql-0.1.9 lib/arql/ext/time.rb