This project is archived and is in readonly mode.
distance_of_time_in_words calculates wrong no of years
-
Aditya Sanghi
- State changed from new to open
- Milestone cleared.
- Assigned user set to Aditya Sanghi
- Tag set to actionview
- Importance changed from to Low
working on failing test and once done will patch.
-
Aditya Sanghi
- Assigned user cleared.
-
Aditya Sanghi
- Assigned user set to José Valim
- Tag changed from actionview to actionview, patch
Actually the subtraction makes sense here. The problems is that distance_in_year does not take care of the leap years properly when finding the distance in years.
Adding patch + test
-
Aditya Sanghi
bump! any thoughts on this?
