Re: [PATCH] oc-basic.el: Better handling of CSL-JSON dates

2022-02-26 Thread Nicolas Goaziou
Hello, David Lukes writes: > * lisp/oc-basic.el (org-cite-basic--parse-json): Make date-parsing and > year extraction more resilient. Provide more informative errors when it > fails. Applied. Thanks. Regards, -- Nicolas Goaziou

[PATCH] oc-basic.el: Better handling of CSL-JSON dates

2022-02-25 Thread David Lukes
* lisp/oc-basic.el (org-cite-basic--parse-json): Make date-parsing and year extraction more resilient. Provide more informative errors when it fails. A string-based date is not only indicated by the key 'raw, but also possibly by the key 'literal. String-based dates come in various formats, not