|
|||
|
Hi,
In message "Re: Time range min/max inconsistency" on Tue, 17 Jul 2007 23:07:04 +0900, Fischer Kriszti=E1n <fischer@borgan= ization.com> 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 =3D Time.utc(2007,7,17,10,00) |=3D> Tue Jul 17 10:00:00 UTC 2007 | |>> t2 =3D Time.utc(2007,7,17,12,00) |=3D> Tue Jul 17 12:00:00 UTC 2007 | |>> r=3D(t1..t2) |=3D> Tue Jul 17 10:00:00 UTC 2007..Tue Jul 17 12:00:00 UTC 2007 | |>> r.min |=3D> Tue Jul 17 10:00:00 UTC 2007 | |>> r.max |=3D> 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. |
|
|
||||
|
||||
|
|
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi, Yukihiro Matsumoto wrote: > You've found a bug in Ruby. It's fixed in the repository. Thanks for the fast answer, and for Ruby. ![]() > Thank you for the report. It was a pleasure. ![]() Chris - -- Fischer Krisztián Borganization Kft. Tel: (+36) 70/384-383-5 Tel: (+36) 1/3360547 email: fischer@borganization.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGnVgd6VUohGTtAQYRAj7GAKCHBjPqncLmIhu7lPVcn8 5/7PYhbwCgiMuN RA9k5cb3v/4HRI3C+5htM/I= =9Zda -----END PGP SIGNATURE----- |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: sas Performance Enhancement | Paul M. Dorfman | Newsgroup comp.soft-sys.sas | 0 | 10-14-2005 01:54 AM |
| Re: Slpit data | Paul M. Dorfman | Newsgroup comp.soft-sys.sas | 0 | 08-29-2005 04:41 AM |
| Re: Slpit data | nospam@HOWLES.COM (Howard Schreier | Newsgroup comp.soft-sys.sas | 0 | 08-29-2005 12:45 AM |
| Re: Adding Records for Missing Time | Dennis Diskin | Newsgroup comp.soft-sys.sas | 0 | 01-18-2005 07:20 PM |
| multiple charts target device formatting | Tomislav Svoboda | Newsgroup comp.soft-sys.sas | 1 | 12-23-2004 10:13 AM |