This article is about Codeship Basic.

Setting Timezone

Estimated Reading Time: 1 min

Default Timezone On Codeship Basic

The default timezone on Codeship’s test VMs is UTC +00:00 or Etc/UTC.

Setting A Custom Timezone

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:

export TZ='America/New_York'

You can see the full list of valid TZ values here.