Skip to content

Commit 6aa1613

Browse files
fix: add space for readability in time formatting condition
1 parent c688a68 commit 6aa1613

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
@@ -8,7 +8,7 @@ function formatAs12HourClock(time) {
88
if(hours<1){
99
return `12:${minutes} am`
1010
}
11-
if(hours==12&& minutes==00){
11+
if(hours==12 && minutes==00){
1212
return "12:00 pm"
1313
}
1414
if (hours > 12) {

0 commit comments

Comments
 (0)