Specify time zone of local dates and times #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now everything is UTC. Great if every API gives fully detailed dates and times with time zone information. Less great if you have to mock APIs that return "local" dates and times in an otherwise documented time zone.
An example of such an API is the SL Transport departure API that gives scheduled and expected times without time zone information because they are known to always be in the time zone "Europe/Stockhlom".
Currently the only workaround is setting the
TZenvironment variable which gets picked up by Debian but that affects all APIs. There's always the possibility of running multiple instances of the container for different time zones so it's not a complete blocker. Just documenting here for completeness as well as informing how to deal with it.