Skip to content

Commit 8f1d13f

Browse files
committed
run prettier and saved
1 parent cfd5727 commit 8f1d13f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ function formatAs12HourClock(time) {
1111
if (hours > 12 && hours < 22) {
1212
return `0${hours - 12}:${mints} pm`;
1313
}
14-
if(hours>=22){
15-
return `${hours-12}:${mints} pm`;
14+
if (hours >= 22) {
15+
return `${hours - 12}:${mints} pm`;
1616
}
1717
return `${time} am`;
1818
}

0 commit comments

Comments
 (0)