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

Merge branch 'hruska-bugfix-#7631-timestamps' into devel

parents fc47761f 5432b4c0
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ based on :py:class:`flask.views.View`.
import re
import sys
import datetime
import pytz
import traceback
import sqlalchemy
......@@ -751,7 +752,8 @@ class BaseSearchView(RenderableView, HawatUtils):
try:
dt_from = cls.get_datetime_window(
item[0],
'current'
'current',
moment=datetime.datetime.now(pytz.timezone(flask.session.get('timezone', 'UTC')))
)
dt_to = cls.get_datetime_window(
item[0],
......
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