The problem might be in the fact that AppEngine doesn't implement most of
the time zones properly. Here I am outputting a number of attributes for
different time zones. This code works fine locally but look what happens
when I am running it on a deployed site.
LOCAL:
Asia/Seoul9false
I guess problem is that after deploying to GAE, any try will retrieve
the time zone
information *on the Google Servers*! Google can't find out what
timezone
your local developer box is located in.
Aron
On Sep 2, 1:08 pm, le anh leanhduc1...@gmail.com wrote:
On Sep 2, 2:24 pm, leszek
If you delete double declaration (String formattedDate) and add proper
imports and declaration 'Calendar cal = Calendar.getInstance()); it
should work.
But you are having this problem while running in local environment
(in your machine) or it does not work after deploying to google
(production)