aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2010-07-23 14:27:14 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2010-07-23 14:27:14 -0400
commit4bf6c1c0c0a9c7a355651868d5c9579e9f98fe6f (patch)
tree7bbb21752679129f7625faea0ea6326b6ffa35a9
parent34165176cfada9f89123dd6580af57ca17c29300 (diff)
downloadrails-4bf6c1c0c0a9c7a355651868d5c9579e9f98fe6f.tar.gz
rails-4bf6c1c0c0a9c7a355651868d5c9579e9f98fe6f.tar.bz2
rails-4bf6c1c0c0a9c7a355651868d5c9579e9f98fe6f.zip
adding proper markup in comments
-rw-r--r--activesupport/lib/active_support/time_with_zone.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/time_with_zone.rb b/activesupport/lib/active_support/time_with_zone.rb
index 119c7c0327..ad6c3de1f5 100644
--- a/activesupport/lib/active_support/time_with_zone.rb
+++ b/activesupport/lib/active_support/time_with_zone.rb
@@ -114,8 +114,8 @@ module ActiveSupport
end
alias_method :iso8601, :xmlschema
- # Coerces the date to a string for JSON encoding. The default format is ISO 8601. You can get
- # %Y/%m/%d %H:%M:%S +offset style by setting ActiveSupport::JSON::Encoding.use_standard_json_time_format
+ # Coerces time to a string for JSON encoding. The default format is ISO 8601. You can get
+ # %Y/%m/%d %H:%M:%S +offset style by setting <tt>ActiveSupport::JSON::Encoding.use_standard_json_time_format</tt>
# to false.
#
# ==== Examples