Update utilities submodule
Some checks are pending
CI / Detect changes (push) Waiting to run
CI / Test () (push) Blocked by required conditions
CI / Test (macOS NFS) (push) Blocked by required conditions
CI / Utilities Tests (push) Waiting to run
CI / Build, Upload (push) Waiting to run

And add test for citing date strings wrapped in double quotes

https://forums.zotero.org/discussion/133277/
This commit is contained in:
Dan Stillman 2026-08-19 12:49:54 -04:00
parent ed8049dffc
commit dac1ad489f
2 changed files with 6 additions and 2 deletions

@ -1 +1 @@
Subproject commit 71b3e83013398acb8d63d968bfef95160bf77581
Subproject commit 4051881d59c6c12d34417d4c226f37218051be90

View file

@ -38,7 +38,7 @@ describe("Zotero.Cite", function () {
});
});
describe("EDTF dates", function () {
describe("Dates", function () {
async function makeBibliography(fields) {
let item = new Zotero.Item;
item.fromJSON(Object.assign({
@ -71,6 +71,10 @@ describe("Zotero.Cite", function () {
assert.include(output, '20212026');
assert.notInclude(output, '1999');
});
it("should render a quoted date as a literal string", async function () {
assert.include(await makeBibliography({ date: '"1637 and 1662"' }), '1637 and 1662');
});
});
describe("#retrieveLocale()", function () {