Set time zone in CI2.0?

circle.yml
cci-20

#1

How do I set the time zone in 2.0?

Is there a timezone equivalent in 2.0? https://circleci.com/docs/1.0/configuration/#timezone


#2

Doing this for now:

- run:
    name: Switch timezone to Melbourne
    command: sudo cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime

#3

It depends on which image you’re using and is not CircleCI specific. That looks like it works.


#4

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.