I've just reported this same bug in REBOL/Core 2.3.0.3.1
the version for The Official Guide.

Russell [EMAIL PROTECTED]
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 17, 2000 2:03 PM
Subject: [REBOL] A bug in sorting on dates/times? Re:


> Hi Carl
> 
> Yup, I get the same thing.
> 
> REBOL/View 0.10.33.3.1 10-Sep-2000
> Copyright 2000 REBOL Technologies.  All rights reserved.
> Type DEMO to run demo if it is disabled
> >> dates: [10-Sep-2000/18:24:13-5:00 10-Sep-2000/18:24:02-5:00]
> == [10-Sep-2000/18:24:13-5:00 10-Sep-2000/18:24:02-5:00]
> >> sort dates
> == [10-Sep-2000/23:24:02-5:00 10-Sep-2000/23:24:13-5:00]
> >> dates
> == [10-Sep-2000/23:24:02-5:00 10-Sep-2000/23:24:13-5:00]
> >>
> Also the same with latest experimental builds of Core and Command.
> 
> -Larry
> 
> ----- Original Message ----- 
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, September 17, 2000 2:54 AM
> Subject: [REBOL] A bug in sorting on dates/times?
> 
> 
> > I think I've found a bug in 'sort when it's sorting a block of dates. 
> > (This is using the experimental Amiga version of REBOL/View
> > 0.10.31.1.1.)
> > 
> > With two files saved as file1 and file2, this is what I get when I
> > enter the following...
> > 
> > >> dates: []
> > == []
> > >> insert dates modified? %file1
> > == []
> > >> insert dates modified? %file2
> > == [10-Sep-2000/18:24:02-5:00]
> > >> dates
> > == [10-Sep-2000/18:24:13-5:00 10-Sep-2000/18:24:02-5:00]
> > >> sort dates 
> > == [10-Sep-2000/23:24:02-5:00 10-Sep-2000/23:24:13-5:00]
> > >> dates
> > == [10-Sep-2000/23:24:02-5:00 10-Sep-2000/23:24:13-5:00]
> > 
> > Those first times returned by the dates block are correct, but notice
> > how they've jumped from 18hrs... to 23hrs... after being sorted? 
> > Sort shouldn't alter what it's sorting, right?
> > 
> > I've submitted this to feedback, but do others get similar results?
> > 
> 

Reply via email to