citeproc-0.1: test/csl/date_RangeDelimiter.txt
>>===== MODE =====>>
bibliography
<<===== MODE =====<<
>>===== RESULT =====>>
<div class="csl-bib-body">
<div class="csl-entry">Year, Month, Day, with repeated month and year: 2_[DRD]_4 January 1999</div>
<div class="csl-entry">Year, Month, Day, with differing month: 2 January_[MRD]_4 March 1999</div>
<div class="csl-entry">Year, Month, Day, with differing year: 2 January 1999_[YRD]_4 January 2000</div>
<div class="csl-entry">Year, Month, with repeated year: January_[MRD]_March 1999</div>
<div class="csl-entry">Year, Month, with differing year: January 1999_[YRD]_March 2000</div>
<div class="csl-entry">Year, with differing year: 1999_[YRD]_2000</div>
</div>
<<===== RESULT =====<<
>>===== CSL =====>>
<style
xmlns="http://purl.org/net/xbiblio/csl"
class="note"
version="1.0">
<info>
<title>Test fixture</title>
<id>http://citationstyles.org/tests/fixture</id>
<link href="http://citationstyles.org/tests/fixture" rel="self"/>
<link href="http://citationstyles.org/documentation/text" rel="documentation"/>
<category citation-format="author-date"/>
<updated>2014-04-30T13:19:38+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale>
<date form="text" delimiter=" ">
<date-part name="day" form="numeric" range-delimiter="_[DRD]_" />
<date-part name="month" form="long" range-delimiter="_[MRD]_" />
<date-part name="year" form="long" range-delimiter="_[YRD]_"/>
</date>
</locale>
<citation>
<layout>
<text value="bogus"/>
</layout>
</citation>
<bibliography>
<layout>
<group delimiter=": ">
<text variable="title"/>
<choose>
<if type="book">
<date variable="issued" form="text" date-parts="year-month-day"/>
</if>
<else-if type="article-journal">
<date variable="issued" form="text" date-parts="year-month"/>
</else-if>
<else-if type="chapter">
<date variable="issued" form="text" date-parts="year"/>
</else-if>
</choose>
</group>
</layout>
</bibliography>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"id": "ITEM-1",
"issued": {
"date-parts": [
[
1999,
1,
2
],
[
1999,
1,
4
]
]
},
"title": "Year, Month, Day, with repeated month and year",
"type": "book"
},
{
"id": "ITEM-2",
"issued": {
"date-parts": [
[
1999,
1,
2
],
[
1999,
3,
4
]
]
},
"title": "Year, Month, Day, with differing month",
"type": "book"
},
{
"id": "ITEM-3",
"issued": {
"date-parts": [
[
1999,
1,
2
],
[
2000,
1,
4
]
]
},
"title": "Year, Month, Day, with differing year",
"type": "book"
},
{
"id": "ITEM-4",
"issued": {
"date-parts": [
[
1999,
1,
2
],
[
1999,
3,
4
]
]
},
"title": "Year, Month, with repeated year",
"type": "article-journal"
},
{
"id": "ITEM-5",
"issued": {
"date-parts": [
[
1999,
1,
2
],
[
2000,
3,
4
]
]
},
"title": "Year, Month, with differing year",
"type": "article-journal"
},
{
"id": "ITEM-6",
"issued": {
"date-parts": [
[
1999,
1,
2
],
[
2000,
3,
4
]
]
},
"title": "Year, with differing year",
"type": "chapter"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<