-
Notifications
You must be signed in to change notification settings - Fork 13
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
Field value ignored with using "raw" date type with CSL-YAML #53
Comments
This works properly with the citeproc library:
(Note: I had to add a leading 0 in "2020-02-11" or it didn't work; that's a small issue we could look into.) The problem, then, seems to lie not in this library but in the conversion of pandoc metadata references to CSL references.
|
According to the CSL JSON documentation, it should be
(Not in a list.) Correct? |
Yes, I believe that you are correct. The example from the documentation of CSL-JSON uses propery/string combination for issued/raw segment. This is apparently also the case with schemas in CSL repository. |
I think the single-digit month isn't allowed in EDTF. Ignoring that issue, the commit above should fix this. |
When using CSL-YAML the following record with date field works as expected:
However, when trying to use a "raw" date format, the value of "issued" segment is ignored:
If my understanding is correct the case above should work in the same way as it does in CSL-JSON, e.g.:
The text was updated successfully, but these errors were encountered: