Skip to content
Snippets Groups Projects
Commit 4dd65f7d authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Merge branch 'hruska-bugfix-#7589-timeline-search-crash' into devel

parents 912285d9 4fd99694
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,8 @@ class AbstractSearchView(PsycopgMixin, CustomSearchView): # pylint: disable=loc
if dt_from:
dt_from = dt_from.astimezone(pytz.utc)
dt_from = dt_from.replace(tzinfo=None)
else:
dt_from = hawat.forms.default_dt_with_delta()
dt_to = form_data.get('dt_to', None)
if dt_to:
dt_to = dt_to.astimezone(pytz.utc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment