Re: [Fwd: DateTime::Duration patch]

2003-11-13 Thread Max Maischein
Dave Rolsky wrote: after some thinking about how to compare the "inconvertible" units, I came up with an ugly hack that will work for "most" cases - the border cases where it fails, are not yet detected, but I'm working on that. The patch passes all my ad-hoc tests, I'll run it later against the D

Re: [Fwd: DateTime::Duration patch]

2003-11-12 Thread Dave Rolsky
On Tue, 11 Nov 2003, Max Maischein wrote: > after some thinking about how to compare the "inconvertible" units, I > came up with an ugly hack that will work for "most" cases - the border > cases where it fails, are not yet detected, but I'm working on that. The > patch passes all my ad-hoc tests,

[Fwd: DateTime::Duration patch]

2003-11-12 Thread Max Maischein
Hello again, this is the patch, which allows for DateTime::Duration comparisions. It has no error checking for the border cases (yet), but the patched module still passes all tests, so I consider that "good enough". It certainly is good enough for my cases where I have differences that always a