Open zepinglee opened 2 years ago
2ab195a output:
Diff < left / right > : <(2000)(November–(December)(9)(10) <(2000)(November)(8–(9) >(2000)(November)(10–December)(9) >(2000)(November)(8–9)
date-part
November 10–December 9
>>===== MODE =====>> citation <<===== MODE =====<< >>===== RESULT =====>> (2000)(November)(10–December)(9) (2000)(November)(8–9) <<===== RESULT =====<< >>===== CSL =====>> <style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0"> <info> <id /> <title /> <updated>2022-06-05T00:00:00+08:00</updated> </info> <citation> <layout> <date variable="issued"> <date-part name="year" prefix="(" suffix=")"/> <date-part name="month" prefix="(" suffix=")"/> <date-part name="day" prefix="(" suffix=")"/> </date> </layout> </citation> </style> <<===== CSL =====<< >>===== CITATION-ITEMS =====>> [ [ { "id": "ITEM-1" } ], [ { "id": "ITEM-2" } ] ] <<===== CITATION-ITEMS =====<< >>===== INPUT =====>> [ { "id": "ITEM-1", "type": "book", "issued": { "date-parts": [ [ 2000, 11, 10 ], [ 2000, 12, 9 ] ] } }, { "id": "ITEM-2", "type": "book", "issued": { "date-parts": [ [ 2000, 11, 8 ], [ 2000, 11, 9 ] ] } } ] <<===== INPUT =====<<
2ab195a output:
date-part
elements is not as expected asNovember 10–December 9
.date-part
affix is be omitted if it's next to the date range delimiter.