Skip to content

Commit d0df081

Browse files
committed
I made changes
1 parent cb70a21 commit d0df081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ console.log(formatAs12HourClock("08:15"), "→ Expected: 08:15 am ❌"); // Bug:
3333
console.log(formatAs12HourClock("23:59"), "→ Expected: 11:59 pm ❌"); // Bug: minutes lost
3434

3535

36-
// Fixed function
36+
// Fixed function to get result
3737

3838
function formatAs12HourClockFixed(time) {
3939
const hours = Number(time.slice(0, 2));

0 commit comments

Comments
 (0)