diff options
author | Shay Davidson <shay.h.davidson@gmail.com> | 2013-08-30 12:05:25 +0300 |
---|---|---|
committer | Shay Davidson <shay.h.davidson@gmail.com> | 2013-08-30 12:21:34 +0300 |
commit | b2ae07f0b218b7e92be1e8d7c23f9f9fb7aae56e (patch) | |
tree | c785f3f381c0e9645b80847d836abb0fe67ee00b /activesupport/test/core_ext/module/reachable_test.rb | |
parent | f90aa722fad2b33a95c85319070891d1eab352f5 (diff) | |
download | rails-b2ae07f0b218b7e92be1e8d7c23f9f9fb7aae56e.tar.gz rails-b2ae07f0b218b7e92be1e8d7c23f9f9fb7aae56e.tar.bz2 rails-b2ae07f0b218b7e92be1e8d7c23f9f9fb7aae56e.zip |
Added partial days support to `DateTime`'s `advance` method.
You can now add partial days (e.g. 2.5.days) to `DateTime` with the advance method.
This was acheived by mimicing the `advance` implementation in `Time`.
Diffstat (limited to 'activesupport/test/core_ext/module/reachable_test.rb')
0 files changed, 0 insertions, 0 deletions