CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Calculate Duration
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1
- Forks
- 28
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Instructions:**
## Dependent ticket : complete #6 before beginning this
Add another column to your `` table which shows the number of nights a guest is staying.
**Hint:** Try installing the [day.js library](ttps://day.js.org/) (you'll need to install it with `npm install dayjs --save`) and using the [`.diff()` method](https://day.js.org/docs/en/display/difference) to compare dates.
**Test:**
- [ ] Each booking in your table should show the number of nights in a separate column. For example, Mr John Doe has a booking for **2** nights.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.