=tes #15155 prettyduration should work with infinity

Fixes:

* PrettyDuration in case someone passes in `Inf`, `Undefined` (which extends infinity) etc.
* adjust default precision to be 4 (fits use case better)

Resolves #15155