TIME

Formats ticks amounts to time values.

This follows the following condition chain:

  • If years is 0.5, uses the years part with the " y" suffix

  • If days is 0.5, uses the days part with the " d" suffix

  • If hours is 0.5, uses the hours part with the " h" suffix

  • If minutes is 0.5, uses the minutes part with the " m" suffix

  • Else, this ticks amount is converted to seconds and formatted with the suffix " s"