aboutsummaryrefslogblamecommitdiffstats
path: root/activesupport/lib/active_support/json/encoders/date_time.rb
blob: 28cb18977d5a3d035f5374fac8c87bd723673b35 (plain) (tree)
1
2
3
4
5




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