Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2050

org.jboss.util.propertyeditor.DateEditor behaviour in different timezones

    XMLWordPrintable

Details

    Description

      The Date test fails when run in my timezone (EET, i.e. GMT+2). This may not be seen by US developers, but I'm recording this here in case this is really a bug?

      Testcase: testJBossEditors took 0.11 sec
      FAILED
      Transform of Jan 4, 2005 equals Tue Jan 04 10:00:00 EET 2005, output=Tue Jan 04 00:00:00 EET 2005
      junit.framework.AssertionFailedError: Transform of Jan 4, 2005 equals Tue Jan 04 10:00:00 EET 2005, output=Tue Jan 04 00:00:00 EET 2005
      at org.jboss.test.util.test.PropertyEditorsUnitTestCase.doTests(PropertyEditorsUnitTestCase.java:267)
      at org.jboss.test.util.test.PropertyEditorsUnitTestCase.testJBossEditors(PropertyEditorsUnitTestCase.java:241)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      Attachments

        Activity

          People

            dandread1@redhat.com Dimitrios Andreadis
            dandread1@redhat.com Dimitrios Andreadis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: