Function shortDurationString

  • Takes a number of seconds and returns a string like "1d 3h 2m 52s"

    Parameters

    • seconds: number

    Returns string