Skip to content

Commit

Permalink
Hopefully fix sorting in CSE author-date (#5834)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith authored Jan 11, 2022
1 parent 1a64076 commit 588fbfe
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions council-of-science-editors-author-date.csl
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@
</group>
</macro>
<macro name="year-date">
<date variable="issued" form="numeric" date-parts="year"/>
</macro>
<macro name="date">
<group delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
</date>
<text macro="year-date"/>
<choose>
<if type="patent article-newspaper webpage" match="any">
<date variable="issued" delimiter=" ">
Expand Down Expand Up @@ -188,7 +189,7 @@
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
<text macro="date"/>
</group>
<text variable="locator" prefix=": "/>
</layout>
Expand All @@ -201,7 +202,7 @@
<layout suffix=".">
<group suffix="." delimiter=". ">
<text macro="author"/>
<text macro="year-date"/>
<text macro="date"/>
<text macro="title"/>
</group>
<group suffix=".">
Expand Down

0 comments on commit 588fbfe

Please sign in to comment.