Sha256: 463dbb1e15905a469b102dbf86c8aaedc2002377aaf4ef62cb4f5e18b2e7a75f

Contents?: true

Size: 108 Bytes

Versions: 21

Compression:

Stored size: 108 Bytes

Contents

class DateTime
  def to_json(options = nil) #:nodoc:
    %("#{strftime("%Y/%m/%d %H:%M:%S %z")}")
  end
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
activesupport-2.0.0 lib/active_support/json/encoders/date_time.rb
activesupport-2.0.1 lib/active_support/json/encoders/date_time.rb
activesupport-2.0.2 lib/active_support/json/encoders/date_time.rb
activesupport-2.0.5 lib/active_support/json/encoders/date_time.rb
activesupport-2.0.4 lib/active_support/json/encoders/date_time.rb
radiant-0.6.5.1 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
radiant-0.6.5 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
radiant-0.6.6 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
radiant-0.6.7 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
radiant-0.6.8 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
radiant-0.6.9 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
spree-0.0.9 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
spree-0.2.0 vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb
swivel-0.0.150 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb
swivel-0.0.149 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb
swivel-0.0.156 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb
swivel-0.0.175 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb
swivel-0.0.152 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb
swivel-0.0.155 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb
swivel-0.0.157 vendor/activesupport-2.0.2-/lib/active_support/json/encoders/date_time.rb