Re: [Patch] DT::TZ Offsets

2003-08-22 Thread Joshua Hoblitt
Can you change it so that the maximum offset is 24:00:00 and then check it in? There's no official limit on offsets are there? I can envision some small country declaring an offset of greater then 24hours. -J --

Re: [Patch] DT::TZ Offsets

2003-08-22 Thread Dave Rolsky
On Fri, 22 Aug 2003, Joshua Hoblitt wrote: Can you change it so that the maximum offset is 24:00:00 and then check it in? There's no official limit on offsets are there? I can envision some small country declaring an offset of greater then 24hours. You can? That doesn't make much sense

Re: Subtraction Broken?

2003-08-22 Thread Eugene van der Pijll
Joshua Hoblitt schreef: What you want is to normalize the values of a duration relative to some fixed point in time. I agree this is something that we need to do. Patches are welcome. :) So if I read this correctly the answer is at this time what I'm after is not possible with

Re: Subtraction Broken?

2003-08-22 Thread Dave Rolsky
On Sat, 23 Aug 2003, Eugene van der Pijll wrote: The only problem is that DT::subtract_datetime doesn't use it. It probably should. (It would be even better if there was an option to calculate the difference in days secs. But the default should probably be to return a difference of months,

Re: Subtraction Broken?

2003-08-22 Thread Joshua Hoblitt
The only problem is that DT::subtract_datetime doesn't use it. It probably should. (It would be even better if there was an option to calculate the difference in days secs. But the default should probably be to return a difference of months, days, minutes, seconds.) I think the default

Re: [Patch] DT::TZ Offsets

2003-08-22 Thread Joshua Hoblitt
There's no official limit on offsets are there? I can envision some small country declaring an offset of greater then 24hours. You can? That doesn't make much sense to me. If it happens, we can change the code ;) The universe doesn't always make sense to you? :) I choose 99:59:59 as

Re: Hijri Calendar + searching datetime mail archives

2003-08-22 Thread Eugene van der Pijll
Matt Sisk schreef: At some point there was discussion of a Hijri calendar on this mailing list, but I'll be darned if I can find the references. Are you sure? I can't find any discussion (googling on e.g. islamic perl datetime finds only one or two posts), and I can't find anything in my

Re: Hijri Calendar + searching datetime mail archives

2003-08-22 Thread Matt Sisk
Eugene van der Pijll wrote: Are you sure? I can't find any discussion (googling on e.g. islamic perl datetime finds only one or two posts), and I can't find anything in my 'sent' folder, and I'm almost sure I would have mailed in such a discussion. Hijri, Hejira, Hidjra...darn if I can figure out