HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activesupport-7.0.4.2/ri/Date/to_fs-i.ri
U:RDoc::AnyMethod[iI"
to_fs:ETI"Date#to_fs;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"LConvert to a formatted string. See DATE_FORMATS for predefined formats.;To:RDoc::Markup::BlankLineo;
;	[I"7This method is aliased to <tt>to_formatted_s</tt>.;T@o:RDoc::Markup::Verbatim;	[I"?date = Date.new(2007, 11, 10)       # => Sat, 10 Nov 2007
;TI"
;TI";date.to_fs(:db)                     # => "2007-11-10"
;TI";date.to_formatted_s(:db)            # => "2007-11-10"
;TI"
;TI".date.to_fs(:short)         # => "10 Nov"
;TI"0date.to_fs(:number)        # => "20071110"
;TI"9date.to_fs(:long)          # => "November 10, 2007"
;TI";date.to_fs(:long_ordinal)  # => "November 10th, 2007"
;TI"3date.to_fs(:rfc822)        # => "10 Nov 2007"
;TI"2date.to_fs(:iso8601)       # => "2007-11-10"
;T:@format0S:RDoc::Markup::Heading:
leveli:	textI"*Adding your own date formats to to_fs;To;
;	[I"BYou can add your own formats to the Date::DATE_FORMATS hash. ;TI"FUse the format name as the hash key and either a strftime string ;TI">or Proc instance that takes a date argument as the value.;T@o;;	[I"+# config/initializers/date_formats.rb
;TI"3Date::DATE_FORMATS[:month_and_year] = '%B %Y'
;TI"aDate::DATE_FORMATS[:short_ordinal] = ->(date) { date.strftime("%B #{date.day.ordinalize}") };T;
0:
@fileI"4lib/active_support/core_ext/date/conversions.rb;T:0@omit_headings_from_table_of_contents_below000[[I"to_formatted_s;To;;	[;@+;0I"(format = :default);T@+FI"	Date;TcRDoc::NormalClass00