Open sloschert opened 2 years ago
IMO we should handle all timestamps internally as UTC. Only when we output a timestamp to some user we should convert it to the desired timezone.
Default timezone makes sense. In the future we could give users the possibility to store their timezone in the user profile. This would make the application more convenient across timezone borders. This is an issue that users in larger countries like the USA or Russia would be concerned with.
The default timezone (Europe/Berlin) is currently hard coded in different places in the application. It should be made configurable (probably in
arbeitszeit_flask/configuration_base.py
) and imported in a central place (probably indatetime_service
).