in reply to Re: DateTime::Span intersection inconsistencies
in thread DateTime::Span intersection inconsistencies

This would serve to eliminate the “one nanosecond problem,” among other things.

Adding a fuzz factor would not fix passing the wrong arguments to the constructor (as was the case here), it would just hide the error.

As for doing a fuzzy comparison, it's already quite easy.

  • Comment on Re^2: DateTime::Span intersection inconsistencies