Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Add support for Time Periods alongside Durations #483

Closed
benariss opened this issue Dec 12, 2018 · 1 comment
Closed

Add support for Time Periods alongside Durations #483

benariss opened this issue Dec 12, 2018 · 1 comment
Assignees
Labels
Type: Feature Request 🛍️ New feature or request

Comments

@benariss
Copy link

Alongside the existing support for fixed durations of time, there should also be support for relative time periods such as months and quarters for DateTime manipulation in Ergo and related data types in the template models.
These would be used in cases where a time period is specified in the clause, for example where a contract is valid for X months from its inception date. To correctly calculate the end date of the contract we would require the functionality to modify the date with the number of months rather than converting this to a number of weeks or days in a Duration either programatically or forcing the clause text to be in a less natural form (i.e. valid for 109 days).

@jeromesimeon jeromesimeon self-assigned this Dec 13, 2018
@jeromesimeon jeromesimeon added the Type: Feature Request 🛍️ New feature or request label Dec 13, 2018
@jeromesimeon
Copy link
Member

Time Period were added in 0.6, support for end/start of period taking timezones into account was added in 0.7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature Request 🛍️ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants