Skip to content

Commit 8be3b9d

Browse files
amendments
1 parent 849f01e commit 8be3b9d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Sprint-2/4-mandatory-interpret/time-format.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ console.log(formatTimeDisplay(61));
4848

4949

5050
// e) What is the return value assigned to num when pad is called for the last time in this program? Explain your answer
51-
// =============> For the input 61, remaining_seconds will be 1. So, pad(1) will return "01". Therefore, the value assigned to num is 1.
51+
// =============> For the input 61, remaining_seconds will be 1. So, pad(1) will return "01".
52+
// Therefore, the value assigned to num is 1.

Sprint-2/5-stretch-extend/format-time.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ console.assert(
2323
currentOutput2 === targetOutput2,
2424
`current output: ${currentOutput2}, target output: ${targetOutput2}`
2525
);
26+
27+
console.log formatAs12HourClock("14:00"); // should return "2:00 pm"

0 commit comments

Comments
 (0)