mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of github.com:lifo/docrails
This commit is contained in:
commit
6f4d00c5a5
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue