Skip to content

Support DAY period for variables. #763

@Br3nda

Description

@Br3nda

Here is what I did:

We started looking at the feasibility of using OF on an area of law that needs to give answers on a day by day basis.

I saw OF only does YEAR and MONTH

Here is what I'd like to know:

What was the reasoning for only having these two options?

Has the concept of WEEK and DAY been looked into? Has anyone worked on it?

Would a period=DAY feature patch be welcomed?

Context

We would like to run an experiment, calculating some model applications for citizenship through Open Fisca. The rules require you have not left the country more than X days of the last rolling year, for several years in the past. This answer changes day by day. You can be not eligible on Monday, be eligible on Tuesday, Wednesday and then not eligible again on Thursday. This is because of how a trip out of the country is split by the rolling year rules.

To run this experiement, we'll need to calculated by DAY

I identify more as a:
Hacker, coder, open source contributor, public servant.

Metadata

Metadata

Labels

kind:featA feature request, a feature deprecation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions