7 Feb 2011 5:40 AM #11
Thanks a lot, i'll try that !
Edit : It works, thanks Sven and Michel.
10 May 2011 3:49 AM #12
12 Apr 2012 10:33 PM #13
I got it working this way, the problem I still had was in web mode in combination with tomcat. Since it is not easy to control the Classloader in tomcat the gwt-servlet.jar was always loaded prior to my jar named owhatever.jar. I figured out that tomcats classloader order is alway alphabetic so that g*.jar is always loaded prior to o*.jar. So the com.google.gwt.user.client.rpc.core.java.util.Date_CustomFieldSerializer class was always token from gwt-servlet.jar. To Solve this one could either rename the jars to be loaded in the desired order which I did not like since this might be implementation dependent or to include the code from gwt-servlet.jar except of the Date_CustomFieldSerializer class within my owhatever.jar which I finally did!
20 Jul 2013 1:52 PM #14
15 Aug 2013 2:30 PM #15
I would suggest you educate your users, rather than change anything.
If someone modified a record at 1000 in Paris, it was 0900 in London.
Since the user in Paris sees 1000 and the one in London see 0900, both representing the same instance in local time, I fail to see the problem.
By the way, if a user in London saves 1000 and then sees 0900, there is a problem in the way you are saving dates, always marshall dates as Date, not String.
If a user in London saves 1000 and then sees 1100, there is a problem in the way you are reading dates, always read Date and transfer Date, not formatted dates as String from the DB server.
I went through the same nightmare with users in a dozen timezones, as long as you only transfer Date back and forth, the problem is gone.
15 Oct 2013 6:45 AM #16
I know that this is an old post but I have the same problem.
I put my own Data serializer inside the same package on my project but something rare is happening.
When a Date is going to serialize the GWT Date serializer is used, but when the Date is going to deserialize my own Date serializer is used ¿?¿?¿?, I don't know what is the problem. Anyone can help me please?
Thanks in advance.
By Twain in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 12 Nov 2011, 1:57 PM
By Tim Siney in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 18 Jan 2011, 7:56 AM
By Alka_5m1980 in forum Community DiscussionReplies: 0Last Post: 31 Mar 2009, 3:26 AM
By keypoint in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 21 Sep 2008, 1:18 AM