Commit 55bf9fbc authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Romain Courteaud

Really store UTC time

Calling datetime.datetime.now will produce local time, whereas utcnow will
result with UTC time.

/reviewed-on !2
parent dbdf0333
......@@ -44,7 +44,7 @@ class LogDB:
resolution=6,
# date is in UTC
utc=True,
default=datetime.datetime.now,
default=datetime.datetime.utcnow,
)
# Store the configuration modification
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment