diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-07-09 13:10:53 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-07-09 13:10:53 +0200 |
commit | 60d4a87cb5655af9e3a848385ba925f2165bba9d (patch) | |
tree | bccf8e17cf6bca187ee3980fdf6ac29ac1912aa2 /tests/integration/test_login.py | |
parent | 6e18519c93ff34d864029ae1d9b2aa03ac2f7f53 (diff) | |
download | fietsboek-60d4a87cb5655af9e3a848385ba925f2165bba9d.tar.gz fietsboek-60d4a87cb5655af9e3a848385ba925f2165bba9d.tar.bz2 fietsboek-60d4a87cb5655af9e3a848385ba925f2165bba9d.zip |
save timestamps in UTC
For the most part, we want to know the instant of when something
happened. To stay consistent, we save everything as UTC. For internal
things, this doesn't really matter - we just need to know the timezone
to be able to compare the values (like "is the upload older than 5
days").
For user-facing things (like comments), we still want to store the UTC
time and then convert it to the user's preferred timezone on display.
Diffstat (limited to 'tests/integration/test_login.py')
0 files changed, 0 insertions, 0 deletions