Skip to content

Commit ce0ae5f

Browse files
committed
just making sure there is no redundancy in the coding
1 parent 1d4f08b commit ce0ae5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎format-clock-edge-cases/timeConverter.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function formatAs12HourClock(time) {
99
return `12:00 pm`
1010
}
1111
if(stringHours == "00"){
12-
return `12:${mints} am`
12+
return `12:${mints} am`
1313

1414
}
1515
if(hours=== 12) {

0 commit comments

Comments
 (0)