Comments (1)
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.
from motion-support.
Related Issues (20)
- License missing from gemspec HOT 1
- detect_dependencies = false ? HOT 3
- Date to epoch time conversion issue HOT 6
- Can't locate iPhoneOS SDK 6.1 error HOT 4
- can't convert MotionSupport::Duration into an exact number HOT 7
- Is this still maintained? HOT 3
- API Doc link is not available anymore HOT 2
- When the newest version in github repo will be pushed to rubygems.org? HOT 3
- Date.today and Date.tomorrow do not equally convert to Time
- end of day or year rounding issues HOT 2
- Android support? HOT 3
- undefined method `+' for class `Date' (NameError) HOT 22
- undefined method `delegate' for NSDictionary:Class HOT 2
- hash with indifferent access fails with undefined method_defined? on Android HOT 1
- Silent crash using motion-support on Android HOT 1
- undefined method `mattr_writer' for MotionSupport:Class
- Crash when invoking .day
- Time for a version bump and gem push? HOT 8
- String extensions should be on NSString HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from motion-support.