typst / hayagriva

Rusty bibliography management.
Apache License 2.0
347 stars 54 forks source link

Year 0 is incorrectly rendered as 1AD #185

Closed owiecc closed 1 month ago

owiecc commented 4 months ago

It should be 1BC instead. See the sample project. I assume the problem is here: https://github.com/typst/hayagriva/blob/b078cc6b71b055250a067371e52ce0a5dd6e8c9c/src/csl/mod.rs#L630

Also there is a problem with order with AD years. Year number should be after the AD, e.g. AD17.