Re: More robust CSL-JSON date parsing in oc-basic

2022-02-25 Thread David Lukeš
Thanks for the quick feedback! I'll send the patch momentarily. Best, David

Re: More robust CSL-JSON date parsing in oc-basic

2022-02-22 Thread Nicolas Goaziou
Hello, David Lukeš writes: > -(car (split-string date "-"))) > +(replace-regexp-in-string > ".*?\\([0-9]\\{4\\}\\).*" "\\1" date)) > + [...] > Let me know which of these changes -- if any -- seem acceptable, and >

More robust CSL-JSON date parsing in oc-basic

2022-02-21 Thread David Lukeš
Hi all, I think I've found an opportunity to make oc-basic a bit more resilient w.r.t. different kinds of CSL-JSON publication date input. I encountered the following error: Error (org-mode-hook): Error running hook "org-fancy-priorities-mode" because: (error Unknown CSL-JSON date format: nil