Abutalib (Barish) Namazov

Results 7 comments of Abutalib (Barish) Namazov

I will add as I think and remember of more, but now I remember that initial instinct was something like `duration(D, "hours", 2)` to have hours and minutes (it is...

@DmitrySharabin's idea is really great, but I was wondering if this breaks the consistency of duration's usage. For positive values, `duration` returns an amount of time, but if we return...

I like the idea of having another function like `relative_time` for describing a point in time, but I am not sure how I feel about `duration` returning a positive time...

One thing about JavaScript I don't like is that we cannot pass named optional parameters to functions, like in Python, i.e. I wish we could do `duration(start - end, absolute=true)`....

While implementing the fix for negative duration, I realized that `duration` also can return multiple units if `terms` is a number, which is hard to represent with negative values. What...

While I was doing that, I noticed possible enhancements for `duration`: - I think it is a good idea to have `unitless` optional parameter that will return the value without...