From 0bd911fb630a191e7d87e002e526c008f854ffcf Mon Sep 17 00:00:00 2001 From: davhojt Date: Sun, 15 May 2022 15:29:30 +0300 Subject: [PATCH] docs(rebecca-black): correct grammar --- subjects/rebecca-black/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/subjects/rebecca-black/README.md b/subjects/rebecca-black/README.md index c32f52e9..14d612e5 100644 --- a/subjects/rebecca-black/README.md +++ b/subjects/rebecca-black/README.md @@ -2,15 +2,15 @@ ### Instructions -Create the following functions: +Create the following functions which accept a `Date`: -- `isFriday` returns true if the date is a friday -- `isWeekend` returns true if the date is a day of the weekend -- `isLeapYear` returns true if the year of the date is a leap year -- `isLastDayOfMonth` returns true if the date is the last day of the month +- `isFriday`: returns `true` if the `Date` is a Friday. +- `isWeekend`: returns `true` if the `Date` is a weekend day. +- `isLeapYear`: returns `true` if the year of the `Date` is a leap year. +- `isLastDayOfMonth`: returns `true` if the `Date` represents the last day of the month. ### Notions -- [date-fns.org/v2.14.0/docs/isWeekend](https://date-fns.org/v2.14.0/docs/isWeekend) -- [date-fns.org/v2.14.0/docs/isAfter](https://date-fns.org/v2.14.0/docs/isAfter) -- [date-fns.org/v2.14.0/docs/isLastDayOfMonth](https://date-fns.org/v2.14.0/docs/isLastDayOfMonth) +- [date-fns: isWeekend](https://date-fns.org/v2.14.0/docs/isWeekend) +- [date-fns: isAfter](https://date-fns.org/v2.14.0/docs/isAfter) +- [date-fns: isLastDayOfMonth](https://date-fns.org/v2.14.0/docs/isLastDayOfMonth)