Skip to content

Commit

Permalink
Fix year suffix for ASA (#6052)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith and adam3smith authored May 8, 2022
1 parent cfadb19 commit a83c15c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions american-sociological-association.csl
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,12 @@
<macro name="year-date">
<choose>
<if variable="issued">
<group delimiter=" ">
<date variable="original-date" form="numeric" date-parts="year" prefix="[" suffix="]"/>
<date variable="issued" form="numeric" date-parts="year"/>
<group>
<group delimiter=" ">
<date variable="original-date" form="numeric" date-parts="year" prefix="[" suffix="]"/>
<date variable="issued" form="numeric" date-parts="year"/>
</group>
<text variable="year-suffix"/>
</group>
</if>
<else-if variable="status">
Expand All @@ -137,7 +140,10 @@
</group>
</else-if>
<else>
<text term="no date" form="short"/>
<group>
<text term="no date" form="short"/>
<text variable="year-suffix" prefix="-"/>
</group>
</else>
</choose>
</macro>
Expand Down

0 comments on commit a83c15c

Please sign in to comment.