Hello,
For our application, we need a way to set the TimeZone for all the client side application. We want all smartGWT items use local GMT.
Actually, we use a TimeItem to get an hour but the javascript Date object returned is in GMT+0 instead of client GMT.
It's not a problem when we use the Date object in the server side but we need to use it in our client side code to call a BIRT report by url with this time value in param.
However, Calendar and others java commons time manage classes can't be used in client side code.
I try to use Date.getTimezoneOffset() to calcul the good value but it does'nt satify me, I don't want to modify my code after each TimeItem.getValue().
Any ideas ?
(excuse my horrible frenglish, the day was long .... I hope it's understandable)
For our application, we need a way to set the TimeZone for all the client side application. We want all smartGWT items use local GMT.
Actually, we use a TimeItem to get an hour but the javascript Date object returned is in GMT+0 instead of client GMT.
It's not a problem when we use the Date object in the server side but we need to use it in our client side code to call a BIRT report by url with this time value in param.
However, Calendar and others java commons time manage classes can't be used in client side code.
I try to use Date.getTimezoneOffset() to calcul the good value but it does'nt satify me, I don't want to modify my code after each TimeItem.getValue().
Any ideas ?
(excuse my horrible frenglish, the day was long .... I hope it's understandable)
Comment