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