Time.new(...).utc is not the same as Time.utc(...). The first creates a given date in local time, and then converts that to utc, whereas the second creates the given time in UTC. |
||
---|---|---|
.. | ||
application_helper_test.rb | ||
asset_helper_test.rb | ||
browse_helper_test.rb | ||
browse_tags_helper_test.rb | ||
changesets_helper_test.rb | ||
geocoder_helper_test.rb | ||
note_helper_test.rb | ||
title_helper_test.rb | ||
user_blocks_helper_test.rb | ||
user_helper_test.rb | ||
user_roles_helper_test.rb |