From: Yukihiro Matsumoto Date: 2007-07-18T08:54:43+09:00 Subject: Re: Time range min/max inconsistency Hi, In message "Re: Time range min/max inconsistency" on Tue, 17 Jul 2007 23:07:04 +0900, Fischer Kriszti�n writes: |I created a range of Time objects. My problem (?) is, that the range's |min() and max() methods return their values in a different format. | |I made the following test: | |?> t1 = Time.utc(2007,7,17,10,00) |=> Tue Jul 17 10:00:00 UTC 2007 | |>> t2 = Time.utc(2007,7,17,12,00) |=> Tue Jul 17 12:00:00 UTC 2007 | |>> r=(t1..t2) |=> Tue Jul 17 10:00:00 UTC 2007..Tue Jul 17 12:00:00 UTC 2007 | |>> r.min |=> Tue Jul 17 10:00:00 UTC 2007 | |>> r.max |=> Tue Jul 17 14:00:00 +0200 2007 You've found a bug in Ruby. It's fixed in the repository. Thank you for the report. matz.