augustin-wien / augustina-backend

An open-source web shop designed for selling magazines on the street.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Set timezone to UTC #21

Closed jofmi closed 1 year ago

jofmi commented 1 year ago

Type of change

Description

The timezone of postgres was set to GMT+2. However, go does not read the timezone and assumes that timestamps from the db are in UTC, leading to errors. I would suggest to stick to UTC and only change the timezone in the UI when timestamps are displayed.

Checklist: