utils: fixed secs_to_string output for one-element arrays