typst / hayagriva

Rusty bibliography management.
Apache License 2.0
289 stars 44 forks source link

Year 0 is incorrectly rendered as 1AD #185

Open owiecc opened 5 days ago

owiecc commented 5 days 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.