python-humanfriendly icon indicating copy to clipboard operation
python-humanfriendly copied to clipboard

Support miliseconds or any other "minimum" unit in format_timespan

Open gsemet opened this issue 4 years ago • 0 comments

If i have a duration small that 1 second, it is displayed as '0 seconds'. Should be able to display at least something like 0.3 second (without the 's'). Maybe with an additional option minimum_unit='milisecond' so it will dispay for example 301 miliseconds.

Thanks

gsemet avatar Feb 20 '20 11:02 gsemet