Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda]

This commit is contained in:
Pratik Naik 2008-07-14 01:02:07 +01:00
parent 95812d5eaf
commit 9783e66cad
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class DateTime
if ActiveSupport.use_standard_json_time_format
xmlschema.inspect
else
%("#{strftime("%Y/%m/%d %H:%M:%S %z")}")
strftime('"%Y/%m/%d %H:%M:%S %z"')
end
end
end