From: James Edward Gray II Date: 2006-08-03T23:44:15+09:00 Subject: Re: Multi-Line Date Formate Patch On Aug 1, 2006, at 10:12 AM, James Edward Gray II wrote: > 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 1 Aug 2006 15:11:47 -0000 > @@ -51,7 +51,7 @@ > } > def self.__strptime(str, fmt, elem) > - fmt.scan(/%[EO]?.|./o) do |c| > + fmt.scan(/%[EO]?.|./mo) do |c| > cc = c.sub(/\A%[EO]?(.)\Z/o, '%\\1') > case cc > when /\A\s/o > @@ -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] Just following up here... Is this patch satisfactory? Can we commit it? James Edward Gray II