Paul Schoenfelder

Results 323 comments of Paul Schoenfelder

I just realized you specified this for durations only, so that simplifies things a bit, I suspect the naive approach might be enough to satisfy the requirements.

So the primary issue is that converting to months/years from a `Duration` lacks a critical piece of information: the origin date/time. With that piece of information we can calculate the...

So `set` doesn't guarantee that the resulting date/time is valid, only that the _value being set_ is valid, e.g. that a month is between 1 and 12. It is intended...

I'm open to this, I've already internally refactored Timex to use its own internal timezone database facade, so supporting other libraries should be viable. If someone is interested in pursuing...

@nathanl It'd be great to add these capabilities to the Interval API! A few thoughts: I think `difference_all` can probably be left out, or built as an overload for `difference/2`...

@mourjo I’m not aware of any such efforts at the moment, your contributions would be welcome!

Yes definitely :), feel free to post your thoughts/questions here and we can discuss the implementation

I believe it is documented somewhere that Timex only targets the ISO calendar, but to be fair, that's a legacy thing, before Elixir added support for other calendars. I'll have...

Thanks for the feedback @mikelat, sorry for the delay. I'll get that addressed in the next release :)

@binarylogic once the release for Elixir 1.3 drops on Wednesday I'd be glad to provide guidance on the implementation, currently there is not a relative parser in progress, but building...