Set timezone in Stash

Can I set the timezone that Stash uses different from the OS's timezone? A config setting?

It is hosted on a multipurpose machine, that has inflexible programs, and it must be set to UTC for these other functions.

It'd be great to the correct timezone in Stash, though.

I do know about That would solve the problem too, albeit it is a more difficult request as it asks for timezone to vary by user.

1 answer

1 accepted

This widget could not be displayed.

You can set the timezone using a JVM parameter: -Duser.timezone=America/Chicago

For Stash, you can add that parameter to the JVM_SUPPORT_RECOMMENDED_ARGS variable in your or setenv.bat.

Note that if you're running Stash as a service on Windows, setenv.bat is not evaluated and you'll have to set these arguments differently. In that case, you'll want to follow the instructions on, but add the -Duser.timezone=<your timezone> parameter instead.



Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

275 views 14 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you