anvc / scalar

Born-digital, open source, media-rich scholarly publishing that’s as easy as blogging.
Other
231 stars 73 forks source link

Don't match dates with ce or ad eras when making year negative #211

Closed alexdryden closed 1 year ago

alexdryden commented 1 year ago

This fixes issue #210 by removing the condition that matches eras of 'ad' or 'ce' when generating negative dates to be used by timeline components.

eloyer commented 1 year ago

@alexdryden Great catch — thanks for the fix!

craigdietrich commented 1 year ago

Timeline.js hasn't been updating in a while, I don't think. Would that help here?