Sha256: 774b2cf53d1107177747c7daf32ac3eb5b7e26771644d78e93bd08ba88889024

Contents?: true

Size: 821 Bytes

Versions: 4

Compression:

Stored size: 821 Bytes

Contents

Feature: date
  As a CSL cite processor hacker
  I want the test date_LocalizedNumericYearRange to pass

  @citation @date
  Scenario: Localized Numeric Year Range
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <layout>
          <date date-parts="year-month" form="numeric" variable="issued" />
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","issued":{"date-parts":[[2005,11,15],[2006,12,20]]},"type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    11/2005–12/2006
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/date/LocalizedNumericYearRange.feature
citeproc-1.0.6 features/date/LocalizedNumericYearRange.feature
citeproc-1.0.5 features/date/LocalizedNumericYearRange.feature
citeproc-1.0.4 features/date/LocalizedNumericYearRange.feature