Open kapso opened 10 years ago
When I adjust my MacBook time from local time zone to GMT-08:00 zone and 11pm. Then I can reproduce your problem.
(main)> today = Date.today
=> Thu, 30 Jan 2014
(main)> tomorrow = Date.today + 1.day
=> Fri, 31 Jan 2014
(main)> today.to_time
=> 2014-01-30 23:04:51 -0800
(main)> tomorrow.to_time
=> 2014-01-31 00:00:00 UTC
(main)> today.to_time.to_i
=> 1391151891
(main)> tomorrow.to_time.to_i
=> 1391126400
(main)>
I think this and #18 are same problems.
See issue below where today is greater than tomorrow
I am using the following version - motion-support (0.2.6)
Gemfile:
Rakefile: