Skip to content

Commit 7be37db

Browse files
committed
fix wrong description for challenge 5 in appointment-time
1 parent 2b932d4 commit 7be37db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/appointment-time/.docs/instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ availableTimes('12 December 2022 10:20 am', '18 December 2022 9:30 am');
4545
## 5. Check if an appointment is now valid or not
4646

4747
The function receives two arguments - appointment time and current time.
48-
If the appointment time is greater than the current time then the appointment is not valid anymore, and you should return `The appointment is not valid anymore.`
48+
If the appointment time is less than the current time then the appointment is not valid anymore, and you should return `The appointment is not valid anymore.`
4949
If not, the appointment is valid, and you should return `The appointment is valid.`
5050

5151
```javascript
5252
isValid('12 February 2022', '9 February 2022');
53-
// => The appointment is not valid anymore.
53+
// => The appointment is valid.
5454
```

0 commit comments

Comments
 (0)