You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Gregory Hart (Jira)" <ji...@apache.org> on 2023/01/24 22:48:00 UTC

[jira] [Created] (CALCITE-5494) Time zone tests in DateTimeUtilsTest should pass in Europe/London

Gregory Hart created CALCITE-5494:
-------------------------------------

             Summary: Time zone tests in DateTimeUtilsTest should pass in Europe/London
                 Key: CALCITE-5494
                 URL: https://issues.apache.org/jira/browse/CALCITE-5494
             Project: Calcite
          Issue Type: Bug
          Components: avatica
            Reporter: Gregory Hart
            Assignee: Gregory Hart


The {{DateTimeUtilsTest.testSqlDateToUnixDateWithCustomCalendar}} test fails in the Europe/London time zone. The issue is due to the use of {{TimeZone.setRawOffset(int)}} which expects the provided value to be the offset from GMT, but the test provides the offset from UTC.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)