Skip to content

Commit

Permalink
Include a :number option example inside Time conversions helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Jul 17, 2008
1 parent 0cfa357 commit b32a24a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -30,6 +30,7 @@ def self.included(base) #:nodoc:
# time.to_s(:time) # => "06:10:17"
#
# time.to_formatted_s(:db) # => "2007-01-18 06:10:17"
# time.to_formatted_s(:number) # => "20070118061017"
# time.to_formatted_s(:short) # => "18 Jan 06:10"
# time.to_formatted_s(:long) # => "January 18, 2007 06:10"
# time.to_formatted_s(:long_ordinal) # => "January 18th, 2007 06:10"
Expand Down

0 comments on commit b32a24a

Please sign in to comment.