Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Some SQL under lib/ranking/ relies on local time whereas timestamps in the database are UTC #1

Closed
khanku opened this Issue · 1 comment

2 participants

François Chavant Raphaël Vinot
François Chavant

The function datetime.datetime.now() is used to construct SQL constraints in some in some files under lib/ranking/ which leads python to use the local time which might differ from UTC. But all timestamps in the database are UTC.
This leads to disappearing results on some setup. Changing the system clock to UTC fixes this bug although it's obviously not a solution.

Raphaël Vinot
Owner

Fixed by your own patch, thanks :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.