[jira] [Updated] (CALCITE-5494) Time zone tests in DateTimeUtilsTest should pass in Europe/London
[ https://issues.apache.org/jira/browse/CALCITE-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruben Q L updated CALCITE-5494: --- Fix Version/s: avatica-1.24.0 > 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 >Priority: Major > Labels: pull-request-available > Fix For: avatica-1.24.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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)
[jira] [Updated] (CALCITE-5494) Time zone tests in DateTimeUtilsTest should pass in Europe/London
[ https://issues.apache.org/jira/browse/CALCITE-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated CALCITE-5494: Labels: pull-request-available (was: ) > 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 >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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)