CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Calculate Duration

Abierto
#7 0 comentarios 0 reacciones 0 asignados Ver en GitHub
♟️ Dependent ticket 🏕 Priority Mandatory 📅 Week 1 🦑 Size Large 🧩 Feature
Lenguaje dominante
JavaScript
Estrellas
1
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.