We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timestamps are naturally from EPOCH which is time zone independent https://en.wikipedia.org/wiki/Unix_time
So that Time.now.to_i == Time.now.utc.to_i is ALWAYS true and, obviously, .utc conversion makes no sense in https://github.com/cyx/ohm-contrib/blob/master/lib/ohm/timestamps.rb#L27-L28
Time.now.to_i == Time.now.utc.to_i
true
.utc
But, this may be caused from some legacy ruby lang versions, please correct me if this is the case
The text was updated successfully, but these errors were encountered:
No branches or pull requests
timestamps are naturally from EPOCH which is time zone independent
https://en.wikipedia.org/wiki/Unix_time
So that
Time.now.to_i == Time.now.utc.to_i
is ALWAYStrue
and, obviously,
.utc
conversion makes no sense inhttps://github.com/cyx/ohm-contrib/blob/master/lib/ohm/timestamps.rb#L27-L28
But, this may be caused from some legacy ruby lang versions, please correct me if this is the case
The text was updated successfully, but these errors were encountered: