You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (JIRA)" <ji...@apache.org> on 2013/04/13 22:16:15 UTC

[jira] [Created] (JDO-720) Possible time zone issue in SupportedDateMethods

Michael Bouschen created JDO-720:
------------------------------------

             Summary: Possible time zone issue in SupportedDateMethods
                 Key: JDO-720
                 URL: https://issues.apache.org/jira/browse/JDO-720
             Project: JDO
          Issue Type: Bug
          Components: tck
    Affects Versions: JDO 3 update 1 (3.0.1)
            Reporter: Michael Bouschen
             Fix For: JDO 3 maintenance release 1 (3.1)


The TCK query test SupportedDateMethods fails when running a Date.getDate query: the query result is empty where it should include an employee instacne. 

Please note, the failure occurs when running the test in California and Arizona, but not in Europe. 

Looks like the problem is in the company model reader creating a date in the America/New_York time zone that is actually yesterday in other time zones, so the tests fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira