Set time zone in CI2.0?



How do I set the time zone in 2.0?

Is there a timezone equivalent in 2.0?


Doing this for now:

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


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


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