Re: Set timezone in jsonwriter for date conversion

2015-11-05 Thread Lukasz Lenart
SONResult to a client. In order > to do that I need to modify the DateFormatter used by JSONWriter so I can > change its timezone. I took a look at the code, and it seems that make that > modification is going to be hard. It would be something like this: > > Extend JSONWriter to be

Re: Set timezone in jsonwriter for date conversion

2015-11-04 Thread JOSE L MARTINEZ-AVIAL
so I can change its timezone. I took a look at the code, and it seems that make that modification is going to be hard. It would be something like this: Extend JSONWriter to be able to use timezone with a Date(Maybe receiving the timezone as a parameter, or using annotation at the field level) E

Set timezone in jsonwriter for date conversion

2015-11-03 Thread JOSE L MARTINEZ-AVIAL
Hello, I'm using Struts 2.3.16.3. I use the json plugin to return information to the client (browser and ios App). The problem I have is that the dates/times are local to my server, and since I have the option to know the client's timezone, I would like to return the date to

Re: and timeZone

2009-12-29 Thread Sanjay Patel
I think this did not reflect in the group. Hence sending again. On Sun, Dec 27, 2009 at 9:19 AM, Sanjay Patel wrote: > Hi, > > In an application, we are storing the timeZone of the users and wish to > display the dates according to their timeZone. As I saw, that there is on > t

and timeZone

2009-12-26 Thread Sanjay Patel
Hi, In an application, we are storing the timeZone of the users and wish to display the dates according to their timeZone. As I saw, that there is on timeZone support in tag. Any suggestion would help. -- Thanks, Sanjay www.sanjaypatel.name

specifying timezone in date tag

2007-04-30 Thread Rohit Dewan
Is there a way to specify timezone in the date tag? The current behavior defaults to the timezone of the server. Regards, Rohit

Using timezone with date tag

2007-04-27 Thread Rohit Dewan
Is there a way to specify timezone in the date tag. The current behavior defaults to the timezone of the server. Regards, Rohit

Re: shale "convertDateTime" problem (timeZone)

2006-06-30 Thread Gary VanMatre
>From: Daniel del Río <[EMAIL PROTECTED]> > > Hello, > I have a problem with the timezone attribute in a "convertDateTime" > compon

shale "convertDateTime" problem (timeZone)

2006-06-30 Thread Daniel del Río
Hello, I have a problem with the timezone attribute in a "convertDateTime" component. The clay-config

Re: Timezone

2005-09-18 Thread Martin Gainty
MAIL PROTECTED]> Sent: Sunday, September 18, 2005 11:58 AM Subject: RE: Timezone I've found out that the problem was with default timezone when JBoss was started within Eclipse. If I run it standalone with run.bat - everything works OK... I didn't have time to look for reason of t

RE: Timezone

2005-09-18 Thread Wojciech Ciesielski
I've found out that the problem was with default timezone when JBoss was started within Eclipse. If I run it standalone with run.bat - everything works OK... I didn't have time to look for reason of this strange behaviour - I've added -Duser.timezone=Europe/Warsaw to my JRE VM pa

Re: Timezone

2005-09-18 Thread Martin Gainty
dobry Wojciech //This should work TimeZone timeZone = TimeZone.getTimeZone("Europe/Warsaw"); //If "Europe/Waraw" is not valid this will always work //TimeZone timeZone = TimeZone.getTimeZone("GMT+1"). GregorianCalendar cal = new GregorianCalendar(timeZone, L

Timezone

2005-09-18 Thread Wojciech Ciesielski
Hi there, I have web-app deployed on JBoss and I am having some problems with date objects :-/ I am trying to set login time to some bean and display this info on page. In my LoginAction I do: UserSession us = new UserSession(loggedUser); TimeZone tz = TimeZone.getTimeZone("Europe/W