Skip to content

Commit 588fbfe

Browse files
authored
1 parent 1a64076 commit 588fbfe

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

council-of-science-editors-author-date.csl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,11 @@
124124
</group>
125125
</macro>
126126
<macro name="year-date">
127+
<date variable="issued" form="numeric" date-parts="year"/>
128+
</macro>
129+
<macro name="date">
127130
<group delimiter=" ">
128-
<date variable="issued" delimiter=" ">
129-
<date-part name="year"/>
130-
</date>
131+
<text macro="year-date"/>
131132
<choose>
132133
<if type="patent article-newspaper webpage" match="any">
133134
<date variable="issued" delimiter=" ">
@@ -188,7 +189,7 @@
188189
<layout prefix="(" suffix=")" delimiter="; ">
189190
<group delimiter=" ">
190191
<text macro="author-short"/>
191-
<text macro="year-date"/>
192+
<text macro="date"/>
192193
</group>
193194
<text variable="locator" prefix=": "/>
194195
</layout>
@@ -201,7 +202,7 @@
201202
<layout suffix=".">
202203
<group suffix="." delimiter=". ">
203204
<text macro="author"/>
204-
<text macro="year-date"/>
205+
<text macro="date"/>
205206
<text macro="title"/>
206207
</group>
207208
<group suffix=".">

0 commit comments

Comments
 (0)