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 https://jira.atlassian.com/browse/STASH-2817. That would solve the problem too, albeit it is a more difficult request as it asks for timezone to vary by user.
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 setenv.sh 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 https://confluence.atlassian.com/display/STASHKB/Change+STASH_HOME+when+installed+as+a+Windows+service, but add the -Duser.timezone=<your timezone>
parameter instead.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.