We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb70a21 commit d0df081Copy full SHA for d0df081
Sprint-2/5-stretch-extend/format-time.js
@@ -33,7 +33,7 @@ console.log(formatAs12HourClock("08:15"), "→ Expected: 08:15 am ❌"); // Bug:
33
console.log(formatAs12HourClock("23:59"), "→ Expected: 11:59 pm ❌"); // Bug: minutes lost
34
35
36
-// Fixed function
+// Fixed function to get result
37
38
function formatAs12HourClockFixed(time) {
39
const hours = Number(time.slice(0, 2));
0 commit comments