InseeFr / InseeFr/Trevas-TS

SDT survey: Calculate the duration between two dates (a getDiff function)

Open
#72 2 comments 0 reactions 1 assignee Claimed by @romaintailhurat View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.