1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/CHANGELOG.md
Jay Hayes 756de667ae Ensure input to distance_of_time_in_words is not nil
* Internally all input is converted to time so that it can be treated
  uniformly.

Remove now-unneeded condition

* Now that all input is treated is converted to time, we no longer need
  to type check it.

Rename variables to clarify their purpose

Extract private method to normalize distance_of_time args to time

Update actionview changelog
2017-04-27 12:00:13 -07:00

234 B

  • Update distance_of_time_in_words helper to display better error messages for bad input.

    Jay Hayes

Please check 5-1-stable for previous changes.