diff options
| author | Tanmay Sinha <tanmay3011@gmail.com> | 2015-10-04 19:28:05 +0530 |
|---|---|---|
| committer | Tanmay Sinha <tanmay3011@gmail.com> | 2015-10-04 19:28:05 +0530 |
| commit | 73aa47e67349397bb3f64bd2df66cb690dd041d4 (patch) | |
| tree | 40239d8a95679213b3dbbff3fadbaf627bca99d5 | |
| parent | 67597e1719ec6af7e22964603cc77aa5b085a864 (diff) | |
| download | rails-73aa47e67349397bb3f64bd2df66cb690dd041d4.tar.gz rails-73aa47e67349397bb3f64bd2df66cb690dd041d4.tar.bz2 rails-73aa47e67349397bb3f64bd2df66cb690dd041d4.zip | |
Fix Time.now format in documentation
| -rw-r--r-- | activesupport/lib/active_support/core_ext/time/conversions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/time/conversions.rb b/activesupport/lib/active_support/core_ext/time/conversions.rb index 24d13937f6..eecbac2c20 100644 --- a/activesupport/lib/active_support/core_ext/time/conversions.rb +++ b/activesupport/lib/active_support/core_ext/time/conversions.rb @@ -24,7 +24,7 @@ class Time # # This method is aliased to <tt>to_s</tt>. # - # time = Time.now # => Thu Jan 18 06:10:17 CST 2007 + # time = Time.now # => 2007-01-18 06:10:17 -06:00 # # time.to_formatted_s(:time) # => "06:10" # time.to_s(:time) # => "06:10" |
