Re: DateTimeFormat problem when deploying to tomcat on unix

2009-02-18 Thread jptard
Just to inform that I resolved my problem including a patch in GWT 1.5 which we can put in parameter the TimeZone (of my server) on the method DateTimeFormat.format(date, TimeZone), the patch can be found here: http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/bf

Re: DateTimeFormat problem when deploying to tomcat on unix

2009-02-13 Thread jptard
Thanks Pascal... The application I implemented is to follow command made by our client... and it's needed to display all the information of the date (timestamp format) saved on database ... We have some people working in Maroc and it's them that encountered 'the problem' ... I thought that to fo

Re: DateTimeFormat problem when deploying to tomcat on unix

2009-02-12 Thread Pascal
Bonjour JP, The problem is not with the DateTimeFormat class. You have to look at the way dates work in java. A date object is little more than an offset in milliseconds which happens to be on a give day in the timezone where the date object has been created. So for example, if you create it with

DateTimeFormat problem when deploying to tomcat on unix

2009-02-12 Thread jptard
Hello, I encounter a problem with DateTimeFormat class..., not on my computer but when my application is deployed on production: I configured my module to force locale fr_FR like this on my module properties file: and I put the meta line below on my jsp page: When I am on my com