rails/rails — pull request #12080 by ShayDavidson (2013-08-30 09:27:13+00:00)
Title: Added partial days support to `DateTime`'s `advance` method.

Solves issue: https://github.com/rails/rails/issues/12005

You can now add partial days (e.g. 2.5.days) to `DateTime` with the advance method.
This was achieved by mimicking the `advance` implementation in `Time`.