From: Yukihiro Matsumoto Date: 2005-05-14T23:24:07+09:00 Subject: Re: Possible bug in Date/ParseDate Hi, In message "Re: Possible bug in Date/ParseDate" on Sat, 14 May 2005 22:40:28 +0900, Matthew Keene writes: |I have found what appears to be a bug in either the Date or the |ParseDate standard libraries | |The program below | |require 'date' |require 'parsedate' | |p Time.new |p Date._parse(Time.new.to_s) |p ParseDate.parsedate(Time.new.to_s) | |produces the following output: | |Sat May 14 23:28:42 AUS Eastern Standard Time 2005 |{:zone=>"AUS", :sec=>42, :hour=>23, :wday=>6, :mday=>14, :min=>28, |:mon=>5} |[nil, 5, 14, 23, 28, 42, "AUS", 6] Date._parse does not recognize long timezone including spaces, such as "AUS Eastern Standard Time". It is a known limitation. I'm not sure there is any standard for the timezone format. matz.