Fix seconds_to_approximate_hms sometimes saying things like 1h60m (#1314).