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

It’s probably comparing the number of days between the dates with the number of days in a year, which would usually work.


Source is a lot more complicated than i thought it will be: https://github.com/rails/rails/blob/v6.1.7.7/actionview/lib/...




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

Search: