CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Calculate Duration

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
♟️ Dependent ticket 🏕 Priority Mandatory 📅 Week 1 🦑 Size Large 🧩 Feature
Lingua principale
JavaScript
Stelle
1
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.