class DateTime

def as_json(options = nil) #:nodoc:

:nodoc:
def as_json(options = nil) #:nodoc:
  if ActiveSupport.use_standard_json_time_format
    xmlschema
  else
    strftime('%Y/%m/%d %H:%M:%S %z')
  end
end