Skip to content

Commit dab924b

Browse files
fix: update password validation logic
1 parent b2684a1 commit dab924b

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
@@ -5,7 +5,7 @@
55
function formatAs12HourClock(time) {
66
const hours = Number(time.slice(0, 2));
77
const minutes=time.slice(3,5)
8-
if(hours===0){
8+
if(hours==0){
99
return `12:${minutes} am`
1010
}
1111
if(hours===12 ){

0 commit comments

Comments
 (0)