aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/date.rb
blob: ee1a472f3fad8b4af0ab364c28197c3ad2ede618 (plain) (blame)
1
2
3
4
5
class Date
  def to_json #:nodoc:
    %("#{strftime("%m/%d/%Y")}")
  end
end