addresses #927, make date searches time zone aware
This commit is contained in:
@@ -174,7 +174,7 @@ class Tag < ActiveRecord::Base
|
||||
|
||||
when :date
|
||||
begin
|
||||
object.to_date
|
||||
Time.zone.parse(object)
|
||||
rescue Exception
|
||||
nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user