A sane answer for datetime subtraction?

2005-11-20 Thread Dave Rolsky
I think I've hit upon a fairly sane answer, although it makes the internals of DateTime.pm even yuckier than before (which may be hard to imagine if you've already poked around in some of the methods ;) I've summarized it on the wiki here: http://datetime.perl.org/wiki/index.cgi?MathProblems

Re: A sane answer for datetime subtraction?

2005-11-20 Thread Rick Measham
Dave Rolsky wrote: I think this is about as good as I can get it without simply forcing lots of additional complexity onto the user by adding many options to the API, which I am loathe to do. To sing my usual song: This looks great .. anyone who wants anything else should use something like