From 7ac911ff49fab23cf75d4d4e60101df194dc7d9b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Jun 2026 06:40:41 +0000 Subject: [PATCH 1/2] Initial plan From 1c6733a9237ed757f9b27d725274f3f74df1fbad Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Jun 2026 06:46:27 +0000 Subject: [PATCH 2/2] Normalize malformed DOI month values in bibbot --- bin/issue_to_bibtex.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/issue_to_bibtex.py b/bin/issue_to_bibtex.py index b3e4d6f4..0b4357b3 100644 --- a/bin/issue_to_bibtex.py +++ b/bin/issue_to_bibtex.py @@ -149,6 +149,12 @@ bib = re.sub(r'(@[a-z]*{)(.*?),', r'\1' + id + ',', bib) url_bad = re.search(r'url\s*=\s*{(.*)}', bib).groups()[0] bib = re.sub(r'(url\s*=\s*{)(.*)}', r'\1' + urllib.parse.unquote(url_bad) + '}', bib) + bib = re.sub( + r'(^\s*month\s*=\s*)(?:[\'"]?)([A-Za-z]+)(?:[\'"]?)\s*,', + r'\1{\2},', + bib, + flags=re.MULTILINE, + ) bib_db = bibtexparser.loads(bib) print(bib) else: