public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda]
lifo (author)
Sun Jul 13 17:02:07 -0700 2008
commit  9783e66cade4d145389cca18fab822f44d03161a
tree    9b995ad7364053d372e0f5a1e969f268c5ee8dcc
parent  95812d5eafc3b63ce5eeb0748a5d0132f5108b64
...
8
9
10
11
 
12
13
14
...
8
9
10
 
11
12
13
14
0
@@ -8,7 +8,7 @@ class DateTime
0
     if ActiveSupport.use_standard_json_time_format
0
       xmlschema.inspect
0
     else
0
-      %("#{strftime("%Y/%m/%d %H:%M:%S %z")}")
0
+      strftime('"%Y/%m/%d %H:%M:%S %z"')
0
     end
0
   end
0
 end

Comments