You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be more verbose than callers always want, it would be nice to permit them to cap the precision, e.g.
$ _format_seconds "$(sed 's/\..*//' /proc/uptime)" 2 # 2 means "no more than two units"
8d 16h
$ _format_seconds 100 3 # may still print less if small enough
1m 40s
The text was updated successfully, but these errors were encountered:
This might be more verbose than callers always want, it would be nice to permit them to cap the precision, e.g.
The text was updated successfully, but these errors were encountered: