Commits

Trammell Hudson committed c9cf357 Draft

use hour_output() for past times

  • Participants
  • Parent commits 62703a6

Comments (0)

Files changed (1)

 			strcat(scroll_output, " past ");
 		}
 
-		if (hour == 12)
-			strcat(scroll_output, "noon");
-		else
-		if (hour == 0)
-			strcat(scroll_output, "midnight");
-		else
-			strcat(scroll_output, numbers[hour]);
+		hour_output(hour);
 	} else {
 		strcat(scroll_output, numbers[60-min]);
 		strcat(scroll_output, " before ");