[REBOL] A bug in sorting on dates/times?
From: carl::cybercraft::co::nz at: 17-Sep-2000 21:54
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?