Estimated Reading Time: 1 min
The default timezone on Codeship’s test VMs is
UTC +00:00 or
You can set a custom timezone with a specific environment variable, and there are two ways to set this value. You can either use your project’s environment variables UI or you can set it via a custom script in your setup commands
You simply need to set the value
TZ to the timezone of your choice. If using your own script, you will run something like:
You can see the full list of valid TZ values here.
We also have a couple of code examples and sample projects available, that make it easier to get started with Codeship.