Permalink
Browse files

fix time.to_formatted_time(:time) example

  • Loading branch information...
1 parent 21a92b8 commit a0b53b25b6dc422bf29d2879a8f1a53b9983ac77 Aditya Sanghi committed Oct 12, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/core_ext/time/conversions.rb
@@ -19,8 +19,8 @@ class Time
#
# time = Time.now # => Thu Jan 18 06:10:17 CST 2007
#
- # time.to_formatted_s(:time) # => "06:10:17"
- # time.to_s(:time) # => "06:10:17"
+ # time.to_formatted_s(:time) # => "06:10"
+ # time.to_s(:time) # => "06:10"
#
# time.to_formatted_s(:db) # => "2007-01-18 06:10:17"
# time.to_formatted_s(:number) # => "20070118061017"

0 comments on commit a0b53b2

Please sign in to comment.