Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.ruby

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2007, 11:54 PM
Yukihiro Matsumoto
Guest
 
Posts: n/a
Default 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=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.

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 07-18-2007, 12:00 AM
Fischer Krisztián
Guest
 
Posts: n/a
Default Re: Time range min/max inconsistency

-----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-----

Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


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



All times are GMT. The time now is 05:50 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.