Releases: danasilver/tiny-human-time
Releases · danasilver/tiny-human-time
Future (and Drake).
Consistently take the absolute value of time differences. Tiny Human Time makes no assumptions about the directionality of the time(s) passed.
This only changes behavior if a single negative value was passed. That value will now be treated as if it was positive. Previously handling the negative value by returning "soon" or "in the future" was undocumented behavior, so this is not considered a major version release.
It was the best of times, it was the tiniest of times.
- Get abbreviated units with the
short
method or by passing 'short' as the last argument to the default function. - Support for a single time argument. Time difference will be calculated relative to 0.
- Support for array arguments where arrays are of the form
[seconds, nanoseconds]
.
Hello.
First release of Tiny Human Time.