Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah yeah, those look like opt-in calendars to me I think. Definitely other datetime libraries do that. They just also require opt-in AFAIK.


Ruby date/time handling is confusing, with too many overlapping classes, developed at different times with odd interfaces and/or semantic edge cases (not unusual on other platforms either), but I believe the things people use as default/recommended standard these days on ruby actually do support gregorian/julian changeover!

But I guess ruby is unusual there! Or I'm wrong.

But good to know most have it as opt-in, anyway!


I would need to see the APIs and examples to be able to evaluate it honestly.

(FWIW, I'm the author of a datetime library in Rust called Jiff.)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: