[PATCH 1/2] testbot/web: Centralize the conversion of durations to human readable strings.