DEV Community

Jon Friesen
Jon Friesen

Posted on • Originally published at jonfriesen.ca on

App Platform: How to set an app timezone?

Apps that run on and built by App Platform use a fairly standard Linux container environment. This means that lots of standard linux configurations work on apps.

To set the timezone of an app, set the TZ environment variable, this can be as simple as:

TZ='Africa/Lagos'

Enter fullscreen mode Exit fullscreen mode

Or using more complex timezone configurations.

Top comments (0)