Loading searx/webapp.py +2 −2 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ def index(): # TODO, check if timezone is calculated right if 'publishedDate' in result: if result['publishedDate'].date() == datetime.now().date(): if result['publishedDate'] >= datetime.now() - timedelta(days=1): timedifference = datetime.now() - result['publishedDate'] minutes = int((timedifference.seconds/60)%60) hours = int(timedifference.seconds/60/60) Loading Loading
searx/webapp.py +2 −2 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ def index(): # TODO, check if timezone is calculated right if 'publishedDate' in result: if result['publishedDate'].date() == datetime.now().date(): if result['publishedDate'] >= datetime.now() - timedelta(days=1): timedifference = datetime.now() - result['publishedDate'] minutes = int((timedifference.seconds/60)%60) hours = int(timedifference.seconds/60/60) Loading