-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Additional check for QualificationValue #100
Conversation
They are valid components but they are not valid when used together. See https://www.loc.gov/standards/datetime/
So it seems that you can only have one character to denote the certainty. |
@mzeinstra so an input such as Either way, this PR should add a test that verifies the new behavior for |
Depending how strict we want to be 1950?~ or 1950~? and essentially not valid values, we can automattically transform them to 1950%, but is that expected behaviour by the users of this tool? Either it should transform the string or it should throw an error in my opinion. I am leaning a bit to throwing an error as that is more clean than chaning user inputted values. |
Thanks @mzeinstra. |
Not entirely true, there are not examples on that page that combine ? and |
I think you're right. Seems like the best solution here is to throw an error |
for #98