Sha256: 542910ea3d720860dacda9dc003ab50d7c281febc8d7663075e9fc80056eae08
Contents?: true
Size: 1.73 KB
Versions: 4
Compression:
Stored size: 1.73 KB
Contents
Feature: date As a CSL cite processor hacker I want the test date_LocalizedDateFormats-zh-CN to pass @citation @date Scenario: Localized Date Formats-zh-CN 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> <locale> <date form="text"> <date-part name="year" suffix="年"/> <date-part name="month" form="numeric" suffix="月"/> <date-part name="day" suffix="日"/> </date> <date form="numeric"> <date-part name="year"/> <date-part name="month" form="numeric" prefix="-" range-delimiter="/"/> <date-part name="day" prefix="-" range-delimiter="/"/> </date> </locale> <citation> <layout> <group delimiter="
"> <date variable="issued" form="text" date-parts="year-month-day"/> <date variable="issued" form="text" date-parts="year-month"/> <date variable="issued" form="text" date-parts="year"/> <date variable="issued" form="numeric" date-parts="year-month-day"/> <date variable="issued" form="numeric" date-parts="year-month"/> <date variable="issued" form="numeric" date-parts="year"/> </group> </layout> </citation> </style> """ And the following input: """ [{"id":"ITEM-1","issued":{"date-parts":[[1998,4,10]]},"title":"BookA"}] """ When I cite all items Then the result should be: """ 1998年4月10日 1998年4月 1998年 1998-4-10 1998-4 1998 """
Version data entries
4 entries across 4 versions & 1 rubygems