]> source.dussan.org Git - redmine.git/commit
Fixes Query#date_clause timezone handling (#22320).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 May 2016 10:58:49 +0000 (10:58 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 May 2016 10:58:49 +0000 (10:58 +0000)
commiteafd585dbe958443cb9d06d217b708cd9f48ea37
treeb48d5bacf409555fc58d81e13062606fb6f9cdc8
parented50d42210eaf7ca216e9cd3a043b36aa68eb51d
Fixes Query#date_clause timezone handling (#22320).

When querying time fields based on date values these should be interpreted
in the user's time zone, since that's what a user usually expects.

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15381 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/query.rb
test/unit/query_test.rb