Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef2b1b75 authored by Thomas Pointhuber's avatar Thomas Pointhuber
Browse files

fix little bug

parent 5538c677
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)