diff options
author | Phil Ross <phil.ross@gmail.com> | 2015-10-29 17:45:24 +0000 |
---|---|---|
committer | Phil Ross <phil.ross@gmail.com> | 2015-10-29 17:51:21 +0000 |
commit | 028b4e3ce33f67445b54b9e205bb088c5e5273de (patch) | |
tree | 3ec5b05e494c36854689a07bc5e73b6b0d5e7e88 /guides/source/layouts_and_rendering.md | |
parent | 4ab9e38e099f945753bbb510072e0304aae201a5 (diff) | |
download | rails-028b4e3ce33f67445b54b9e205bb088c5e5273de.tar.gz rails-028b4e3ce33f67445b54b9e205bb088c5e5273de.tar.bz2 rails-028b4e3ce33f67445b54b9e205bb088c5e5273de.zip |
Fix the example given in the documentation for TimeWithZone#-
The stated value of `now` would actually give the same result for
`now - 24.hours` and `now - 1.day`. Use an alternative value for
`now` that demonstrates the difference between subtracting
`24.hours` and `1.day`.
Diffstat (limited to 'guides/source/layouts_and_rendering.md')
0 files changed, 0 insertions, 0 deletions