From: James Edward Gray II Date: 2006-08-01T23:22:37+09:00 Subject: Re: Multi-Line Date Formate Patch On Jul 31, 2006, at 8:26 AM, James Edward Gray II wrote: > Below is my one character patch to resolve this issue. Uh, hello? Is there any good reason not to apply this patch? James Edward Gray II > Index: lib/date/format.rb > =================================================================== > RCS file: /src/ruby/lib/date/format.rb,v > retrieving revision 1.12 > diff -u -r1.12 format.rb > --- lib/date/format.rb 6 Feb 2005 05:05:18 -0000 1.12 > +++ lib/date/format.rb 31 Jul 2006 13:20:37 -0000 > @@ -490,7 +490,7 @@ > def strftime(fmt='%F') > o = '' > - fmt.scan(/%[EO]?.|./o) do |c| > + fmt.scan(/%[EO]?.|./mo) do |c| > cc = c.sub(/^%[EO]?(.)$/o, '%\\1') > case cc > when '%A'; o << DAYNAMES[wday] >