SDT survey: Calculate the duration between two dates (a getDiff function)
Open
- Dominant language
- TypeScript
- Stars
- 9
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
The SDT survey needs to calculate the number of nights of a given trip, knowing the departure date and the arrival date. A getDiff function working with two dates or a difference of dates as parameters (see xpath days-from-duration) and if possible a format (days, months, years) would be welcome.
Contributor guide
Assessment
This issue has not been assessed yet.