Closed jbender closed 8 years ago
(main)> Date.today => Sun, 15 Nov 2015 (main)> Date.tomorrow => Mon, 16 Nov 2015 (main)> Date.today.to_time => 2015-11-15 18:33:29 -0600 (main)> Date.tomorrow.to_time => 2015-11-16 00:00:00 UTC
This manifests itself in interesting ways, including that Date.tomorrow.future? is not true in the above case (thank you timezones)
Date.tomorrow.future?
true
This manifests itself in interesting ways, including that
Date.tomorrow.future?
is nottrue
in the above case (thank you timezones)