Skip to content

Commit db6c1bb

Browse files
committed
practicing
1 parent 4c7d3bd commit db6c1bb

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
@@ -26,7 +26,7 @@ console.assert(
2626

2727
// i put this function for test in console, chrome but it showed undefined then i put 12:00 and the output is:Uncaught SyntaxError:
2828
// Unexpected token.so the function is not workable and has some bugs.Unfortunately, i can not work out by myself, i went to chatGpt which
29-
// explained the detail to me. function format12HourClock(time) does not work right because it does not work for 12:00, 24:00 d not for
29+
// explained the detail to me. function format12HourClock(time) does not work right because it does not work for 12:00, 24:00 does not for
3030
// minutes either. The right function should be:
3131

3232
function formatAs12HourClock(time) {

0 commit comments

Comments
 (0)