Skip to content

Commit

Permalink
Vancouver with localized dates
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith committed Jul 13, 2012
1 parent 4ca6345 commit e134630
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions vancouver.csl
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal">
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal" default-locale="de-DE">
<info>
<title>Vancouver</title>
<id>http://www.zotero.org/styles/vancouver</id>
Expand All @@ -25,14 +25,30 @@
<rights>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
</info>
<locale xml:lang="en">
<date form="text" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<terms>
<term name="retrieved">available</term>
<term name="section" form="short">sect.</term>
</terms>
</locale>
<locale xml:lang="fr">
<date form="text" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="year"/>
</date>
<terms>
<term name="retrieved">disponible</term>
<term name="from">sur</term>
</terms>
</locale>
<locale xml:lang="de">
<terms>
<term name="retrieved">verfügbar</term>
<term name="retrieved">verfgbar</term>
<term name="from">unter</term>
</terms>
</locale>
Expand Down Expand Up @@ -89,11 +105,7 @@
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed" suffix="">
<date-part name="year"/>
<date-part name="month" prefix=" " form="short" strip-periods="true"/>
<date-part name="day" prefix=" "/>
</date>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
Expand Down Expand Up @@ -164,11 +176,7 @@
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<group suffix=";" delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<date variable="issued" form="text"/>
<text macro="accessed-date"/>
</group>
</if>
Expand Down Expand Up @@ -253,4 +261,4 @@
<text macro="access"/>
</layout>
</bibliography>
</style>
</style>

0 comments on commit e134630

Please sign in to comment.