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

Allow partially known dates #3

Closed
4 tasks done
jdamerow opened this issue Nov 8, 2022 · 1 comment · Fixed by #36
Closed
4 tasks done

Allow partially known dates #3

jdamerow opened this issue Nov 8, 2022 · 1 comment · Fixed by #36
Assignees

Comments

@jdamerow
Copy link
Member

jdamerow commented Nov 8, 2022

In Undate class, right now it allows dates without a year, but it would be good if it would allow, for example, missing digits (e.g. 1991-1?-10).

  • support missing digits when initializing undate instance; calculate earliest/latest possible dates based on known digits
  • handle missing digits in string method
  • update duration methods for partially known dates
  • track date granularity/precision
@rlskoeser
Copy link
Member

initial implementation completed in #36

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

Successfully merging a pull request may close this issue.

3 participants