3 ms·
It’s probably comparing the number of days between the dates with the number of days in a year, which would usually work.
by mr_toad 3y ago
It’s probably comparing the number of days between the dates with the number of days in a year, which would usually work.
- EnigmaticLion 3y agoSource is a lot more complicated than i thought it will be: https://github.com/rails/rails/blob/v6.1.7.7/actionview/lib/action_view/helpers/date_helper.rb#L95 https://github.com/rails/rails/blob/v6.1.7.7/actionview/lib/...