-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
On 3/23/16 9:16 AM, Jeff Crump wrote:
> If you're connecting to a database you can set the timezone offset
> for that db session.
That is (a) not necessary and (b) probably won't help. OP is going to
have problems reading dates as input as well
If you're connecting to a database you can set the timezone offset for that
db session.
On Mar 23, 2016 8:12 AM, "Christopher Schultz"
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Utkarsh,
>
> On 3/23/16 3:27 AM, Utkarsh Dave wrote:
> > Thanks Chris and John for the response.
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Utkarsh,
On 3/23/16 3:27 AM, Utkarsh Dave wrote:
> Thanks Chris and John for the response.
>
> Chris - We do not use date formats to display
This is the root of your problem.
> , but we are facing issue like
> System.out.println(java.util.TimeZone
Thanks Chris and John for the response.
Chris - We do not use date formats to display, but we are facing issue like
System.out.println(java.util.TimeZone.getDefault().getID()); //This prints
UTC, which is incorrect
System.out.println(System.getProperty("user.timezone")); //which prints
IST, that i
Utkarsh,
On 3/22/16 2:40 AM, Utkarsh Dave wrote:
> We are having this weird issue seen in all the web application pages where
> time gets changed to UTC after some days.
Aren't you using DateFormats for your date/time printing?
> As a workaround it works fine until Tomcat is restarted, but after
On 22 March 2016 at 07:40, Utkarsh Dave wrote:
> Hi Users and Tomcat team,
>
> We are having this weird issue seen in all the web application pages where
> time gets changed to UTC after some days.
> As a workaround it works fine until Tomcat is restarted, but after some
> days time in UTC is see
Hi Users and Tomcat team,
We are having this weird issue seen in all the web application pages where
time gets changed to UTC after some days.
As a workaround it works fine until Tomcat is restarted, but after some
days time in UTC is seen again. This is regardless of any time/time zone
configured