navvy icon indicating copy to clipboard operation
navvy copied to clipboard

Activerecord query in #next does not respect the configured DB timezone (or default UTC)

Open Xac opened this issue 14 years ago • 0 comments

The #next method for the ActiveRecord adapter calls Time.now in the query. Time.now does not get converted to db time. This should be changed to Time.current to respect the database's time zone.

Xac avatar Nov 08 '10 20:11 Xac