From 03e69c4c93a404a8bc032599a5645dcae6e9dc4d Mon Sep 17 00:00:00 2001 From: Maxi_Mega <52792549+Maxi-Mega@users.noreply.github.com> Date: Mon, 19 Apr 2021 16:23:22 +0200 Subject: [PATCH] Correct `isValid` explanation --- subjects/date-is/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/date-is/README.md b/subjects/date-is/README.md index 71cfc2eb..1ec29b79 100644 --- a/subjects/date-is/README.md +++ b/subjects/date-is/README.md @@ -4,11 +4,11 @@ Create the following functions: -- `isValid`, this function must return false if its an Invalid Date +- `isValid`, this function must return false if it's an Invalid Date - `isAfter`, this function will receive two valid dates and return true if the first date is bigger then the second date - `isBefore`, this function will receive two valid dates and return true if the first date is lesser then the second date -- `isFuture`, will return true if it is a valid the date given as parameter is higher then the present date -- `isPast`, will return true if it is a valid date given as parameter is less than the present date +- `isFuture`, will return true if the date given as parameter is valid and higher than the present date +- `isPast`, will return true if the date given as parameter is valid and less than the present date ### Notions