aboutsummaryrefslogtreecommitdiff
path: root/tests/test_views.py
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-09 13:10:53 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-09 13:10:53 +0200
commit60d4a87cb5655af9e3a848385ba925f2165bba9d (patch)
treebccf8e17cf6bca187ee3980fdf6ac29ac1912aa2 /tests/test_views.py
parent6e18519c93ff34d864029ae1d9b2aa03ac2f7f53 (diff)
downloadfietsboek-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/test_views.py')
0 files changed, 0 insertions, 0 deletions