Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse date ranges #45

Closed
alexpovel opened this issue Aug 30, 2022 · 1 comment · Fixed by #43
Closed

Collapse date ranges #45

alexpovel opened this issue Aug 30, 2022 · 1 comment · Fixed by #43
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@alexpovel
Copy link
Owner

Collapse date ranges if they only span a single day, such that e.g. July 31, 2020 - July 31, 2020 becomes July 31, 2020.

@alexpovel alexpovel added the enhancement New feature or request label Aug 30, 2022
@alexpovel alexpovel added this to the anc.v1 milestone Aug 30, 2022
@alexpovel alexpovel self-assigned this Aug 30, 2022
@alexpovel
Copy link
Owner Author

As an addition, there should be a way to specify whole months, as opposed to exact days. For example, if a thing occurred in July 2020, currently a day has to be specified even though that might not reflect reality.

The same idea applies to years.

In my own use cases, I'd use 2020-01-01 to mean the year 2020, for example. However, we can't really apply such magic since people might actually want that date to work normally, of course. An additional flag like ignore_day_of_month or similar could work, but we also don't want to mess with the original schema too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant