Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Bibtex months are expected in English #29
Most bibtex entries are in English, so we should expect the months to be in English as well.
When I get a bib entry from its DOI using
I get a warning when I try to print the entry. I have traced the warning to this function call:
This issue happens because my locale is not English, so this is my workaround:
This PR tells lubridate to use the English locale to parse the month, fixing this issue.
Oh right, I might have been at lubridate 1.5 (I am not in the computer now, but it was a CRAN installation). I'm sorry.
Just to stay on the safe side, maybe RefManageR could depend on
I was using lubridate 1.6.0. There was a bug in lubridate with month capitalization that is fixed in the development version of lubridate: tidyverse/lubridate#529
The second example fails due to the month being in lower case:
So the solution here will be to depend on the next lubridate version. Feel free to close this pull request (or keep it open as a reminder).
Thanks for your time!