CodeYourFuture / CodeYourFuture/React-Module-Project
Feature Calculate Duration
未關閉
♟️ Dependent ticket
🏕 Priority Mandatory
📅 Week 1
🦑 Size Large
🧩 Feature
- 主要語言
- JavaScript
- 星號
- 1
- 分支
- 28
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。