Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

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

Open
Xac opened this issue Nov 8, 2010 · 0 comments

Comments

@Xac
Copy link

Xac commented Nov 8, 2010

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant