From: "NAKAMURA, Hiroshi" Date: 2002-10-17T18:46:47+09:00 Subject: Re: Converting String to Time would be nice Hi. > From: Gavin Sinclair [mailto:gsinclair@soyabean.com.au] > Sent: Thursday, October 17, 2002 6:08 PM > > > Time.scanf("10/17/02 18:46:18", "%x %X") => Time.now, > more or less > > > > > > Comments? > > > > > > I know we have ParseDate, but ... > > > > +1 to ParseDate. > > > > "01/02/01 12:34:56" should be parsed according to > > locale. It's overkill for Ruby to decide a single > > dateTime format, I think. > > "%x %X" *is* according to locale. My apologies. I completely missed the point... You need strptime implementation in Ruby, right? IIRC, Funaba-san who developed current version of parsedate.rb were talking about such a plan. I don't know the current status... Regards, // NaHi