Skip to content

Commit bfbaf1b

Browse files
committed
Comment out formatAs12HourClock function and its related assertions
1 parent c5f7033 commit bfbaf1b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Sprint-3/5-stretch-extend/format-time.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Make sure to do the prep before you do the coursework
33
// Your task is to write tests for as many different groups of input data or edge cases as you can, and fix any bugs you find.
44

5-
function formatAs12HourClock(time) {
5+
/*function formatAs12HourClock(time) {
66
const hours = Number(time.slice(0, 2));
77
if (hours > 12) {
88
return `${hours - 12}:00 pm`;
@@ -22,4 +22,5 @@ const targetOutput2 = "11:00 pm";
2222
console.assert(
2323
currentOutput2 === targetOutput2,
2424
`current output: ${currentOutput2}, target output: ${targetOutput2}`
25-
);
25+
);*/
26+

0 commit comments

Comments
 (0)