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