timex
timex copied to clipboard
Fix dialyzer errors when using from_* functions
i was getting a dialyzer error when calling
Timex.Duration.from_hours() with a float
i believe that the code supports floats, but the typespec on one function is incorrect
this pr adds the | float to the from_microseconds function and adds some tests for calculating from_* with floats