aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/time.rb
blob: b9b52be9edfc46df45ee5bf1211268284810f9f1 (plain) (blame)
1
2
3
4
5
class Time
  def to_json(options = nil) #:nodoc:
    %("#{strftime("%m/%d/%Y %H:%M:%S %Z")}")
  end
end