seboettg / citeproc-php

Full-featured CSL 1.0.1 processor for PHP
MIT License
76 stars 39 forks source link

ordinal not shown for day in date with option limit-day-ordinals-to-day-1 #172

Open glorieux-f opened 1 year ago

glorieux-f commented 1 year ago

Please follow the general troubleshooting steps first:

Bug reports:

Ordinal suffix (ᵉʳ) not shown on day of a date when option limit-day-ordinals-to-day-1 is set. https://docs.citationstyles.org/en/v1.0.2/specification.html#locale-options

data citeproc-php zotero
"date-parts": [[1946, 5, 1]] 1 mai 1ᵉʳ mai

Used CSL stylesheet:

Used CSL metadata

Please replace these lines with your used metadata, for instance:

[
    {
        "id": "n1", 
        "type": "article-newspaper",
        "title": "1ᵉʳ mai",
        "issued": {
            "date-parts": [[2023, 5, 1]]
        }
    }
]