You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the line 343, the function ".seconds" bring something wrong
delta = (datetime.fromtimestamp(course["start"]) - datetime.now()).seconds
seconds calculates only the time difference, not the date.
Maybe it should be total_seconds. delta = (datetime.fromtimestamp(course["start"]) - datetime.now()).total_seconds()
The text was updated successfully, but these errors were encountered:
delta = (datetime.fromtimestamp(course["start"]) - datetime.now()).seconds
seconds calculates only the time difference, not the date.
Maybe it should be total_seconds.
delta = (datetime.fromtimestamp(course["start"]) - datetime.now()).total_seconds()
The text was updated successfully, but these errors were encountered: