Changing the timezone of TeamCity

Is there any way to change the timezone of TeamCity? I've tried setting
JAVA_oPTS, CATALINA_OPTS, to no avail. My timezone is America/Montevideo
(GMT-3), but the server insists on saying it is located in GMT-5 (and the
build agent says it is in America/Rio_Branco).

Any ideas?

Thanks,
Pablo

--


You have an ambitious nature and will make a name for yourself.
Make sure it isn't a bad name.

Pablo Montilla
www.odyssey.com.uy

3 comments

Have you tried to specify user.timezone system property in CATALINA_OPTS: -Duser.timezone=America/Montevideo ? TeamCity itself does not override default timezone.

--
Pavel Sher

0

On Mon, 18 Aug 2008 12:38:29 -0300, Pavel Sher (Jetbrains)
<no_reply@jetbrains.com> wrote:

Have you tried to specify user.timezone system property in
CATALINA_OPTS: -Duser.timezone=America/Montevideo ? TeamCity itself does
not override default timezone.

>

--
Pavel Sher

Yes, I did try that, but the server continues to ignore me. Times are
expressed in GMT-5, the server agent System Properties tab, says the
user.timezone var is America/Rio_Branco. Not so for other 3 agents we
have, all of whom say the timezone is GMT-03:00.

Where else could this property be set?

Thanks,
Pablo


--


I own seven-eighths of all the artists in downtown Burbank!
-- Zippy the Pinhead

Pablo Montilla
www.odyssey.com.uy

0

On Mon, 18 Aug 2008 12:38:29 -0300, Pavel Sher (Jetbrains)
<no_reply@jetbrains.com> wrote:

Have you tried to specify user.timezone system property in
CATALINA_OPTS: -Duser.timezone=America/Montevideo ? TeamCity itself does
not override default timezone.

>

--
Pavel Sher

I finally found it. The problem stems from an old jre/lib/tzmappings file,
that didn't include my timezone...I added this line, and everything went
fine (had to do it to the agents, and they all show America/Montevideo
now):

Montevideo Standard Time:911,911:UY:America/Montevideo:

Thanks,
Pablo
--


Some think Al Gore as ignorance personified.

Pablo Montilla
www.odyssey.com.uy

0

Please sign in to leave a comment.